aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-17 16:09:10 +0800
committermiwi <miwi@FreeBSD.org>2014-02-17 16:09:10 +0800
commitda4e79687b7faaf743c139020c5b6a477c2892bf (patch)
treea2fd9d7fdb604e8fad8dc27507500bfa62623965
parent6afe1190b23ff1c592c9b6ea38454568c6b65984 (diff)
downloadfreebsd-ports-gnome-da4e79687b7faaf743c139020c5b6a477c2892bf.tar.gz
freebsd-ports-gnome-da4e79687b7faaf743c139020c5b6a477c2892bf.tar.zst
freebsd-ports-gnome-da4e79687b7faaf743c139020c5b6a477c2892bf.zip
- Stage support
-rw-r--r--devel/ftjam/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/devel/ftjam/Makefile b/devel/ftjam/Makefile
index b867046488be..7c8772633a0e 100644
--- a/devel/ftjam/Makefile
+++ b/devel/ftjam/Makefile
@@ -14,7 +14,6 @@ CONFLICTS= jam-[0-9]*
USE_BZIP2= yes
USE_GMAKE= yes
-.ifndef(NOPORTDOCS)
PORTDOCS= \
Jam.html \
Jambase.html \
@@ -23,11 +22,9 @@ PORTDOCS= \
README \
RELNOTES \
jam.c
-.endif
PLIST_FILES= bin/${PORTNAME}
-NO_STAGE= yes
do-configure:
@${REINPLACE_CMD} -E \
-e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \
@@ -35,14 +32,12 @@ do-configure:
${BUILD_WRKSRC}/${MAKEFILE}
do-install:
-.ifndef(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
. for file in ${PORTDOCS}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
. endfor
-.endif
# INSTALL_WRKSRC changes depending on ARCH
@${INSTALL_PROGRAM} `${FIND} ${WRKSRC} -name "bin.unix*"`/jam \
- ${PREFIX}/bin/${PORTNAME}
+ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>