svn commit: r340758 - head/devel/cobf
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jan 23 00:13:25 UTC 2014
Author: bapt
Date: Thu Jan 23 00:13:24 2014
New Revision: 340758
URL: http://svnweb.freebsd.org/changeset/ports/340758
QAT: https://qat.redports.org/buildarchive/r340758/
Log:
Support stage
Use bsdtar to extract
Use BUILD_WRKSRC instead of custom do-build
Modified:
head/devel/cobf/Makefile
Modified: head/devel/cobf/Makefile
==============================================================================
--- head/devel/cobf/Makefile Thu Jan 23 00:09:17 2014 (r340757)
+++ head/devel/cobf/Makefile Thu Jan 23 00:13:24 2014 (r340758)
@@ -6,26 +6,24 @@ PORTVERSION= 1.06
CATEGORIES= devel
MASTER_SITES= http://home.arcor.de/bernhard.baier/${PORTNAME}/
DISTNAME= ${PORTNAME}_${PORTVERSION}
+EXTRACT_SUFX= .zip
MAINTAINER= ed at FreeBSD.org
COMMENT= C and C++ code obfuscator
-USE_ZIP= yes
+OPTIONS_DEFINE= DOCS
+
WRKSRC= ${WRKDIR}
PORTDOCS= COPYING README cobf.pdf
PLIST_FILES= bin/cobf
-
-NO_STAGE= yes
-do-build:
- @${MAKE} -C ${WRKSRC}/src/cpp
+MAKEFILE= makefile
+BUILD_WRKSRC= ${WRKSRC}/src/cpp
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/cpp/cobf ${PREFIX}/bin/cobf
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/copyright.txt ${DOCSDIR}/COPYING
- ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}/README
- ${INSTALL_DATA} ${WRKSRC}/doc/cobf.pdf ${DOCSDIR}/cobf.pdf
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/cpp/cobf ${STAGEDIR}${PREFIX}/bin/cobf
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/copyright.txt ${STAGEDIR}${DOCSDIR}/COPYING
+ ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}/README
+ ${INSTALL_DATA} ${WRKSRC}/doc/cobf.pdf ${STAGEDIR}${DOCSDIR}/cobf.pdf
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list