diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-03-14 21:14:03 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-03-14 21:14:03 +0800 |
commit | 5b19e34e3787ea31844a5a1762ba2222d30f2147 (patch) | |
tree | 397bcb8b429dd842b449a386b0d734d3395e62fb /sysutils/cloop-utils | |
parent | 3224b70fc6da9e84854037aa0b21c24319ff077d (diff) | |
download | freebsd-ports-gnome-5b19e34e3787ea31844a5a1762ba2222d30f2147.tar.gz freebsd-ports-gnome-5b19e34e3787ea31844a5a1762ba2222d30f2147.tar.zst freebsd-ports-gnome-5b19e34e3787ea31844a5a1762ba2222d30f2147.zip |
Support staging
Diffstat (limited to 'sysutils/cloop-utils')
-rw-r--r-- | sysutils/cloop-utils/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/sysutils/cloop-utils/Makefile b/sysutils/cloop-utils/Makefile index e932760db658..5c341ab9d843 100644 --- a/sysutils/cloop-utils/Makefile +++ b/sysutils/cloop-utils/Makefile @@ -10,28 +10,26 @@ DISTNAME= cloop_${CLOOP_VERSION}-${CLOOP_REVISION} MAINTAINER= fjoe@FreeBSD.org COMMENT= Compressed loop FS utils +USES= gmake + WRKSRC= ${WRKDIR}/cloop-${CLOOP_VERSION} -USE_GMAKE= yes MAKE_ENV= APPSONLY=yes PLIST_FILES= bin/create_compressed_fs bin/extract_compressed_fs -.ifndef NOPORTDOCS PORTDOCS= README -.endif CLOOP_VERSION= 2.01 CLOOP_REVISION= 2 -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's/^CFLAGS:=/CFLAGS?=/' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/create_compressed_fs ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/extract_compressed_fs ${PREFIX}/bin -.ifndef NOPORTDOCS - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/create_compressed_fs ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/extract_compressed_fs ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |