1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Support staging

This commit is contained in:
Emanuel Haupt 2014-03-14 13:14:03 +00:00
parent 15770e14f7
commit 75d0b7d735
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348226

View File

@ -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>