aboutsummaryrefslogtreecommitdiff
path: root/misc/countrycodes
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-10-25 14:33:17 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-10-25 14:33:17 +0000
commite5455d4a0658b822139cc277796b7f422dba7d46 (patch)
tree2e4cd8bd413e882f77dff0124f17b1d9d03b4ed4 /misc/countrycodes
parentff6f962ef0273052714ef80fc8aca9443a9362da (diff)
downloadports-e5455d4a0658b822139cc277796b7f422dba7d46.tar.gz
ports-e5455d4a0658b822139cc277796b7f422dba7d46.zip
Support staging.
Notes
Notes: svn path=/head/; revision=331588
Diffstat (limited to 'misc/countrycodes')
-rw-r--r--misc/countrycodes/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/countrycodes/Makefile b/misc/countrycodes/Makefile
index 9f07cf3c38e7..8fc28ee14493 100644
--- a/misc/countrycodes/Makefile
+++ b/misc/countrycodes/Makefile
@@ -15,21 +15,19 @@ LICENSE= GPLv2
BUILD_WRKSRC= ${WRKSRC}/src
INSTALL_WRKSRC= ${BUILD_WRKSRC}
-PLIST_FILES= bin/iso3166
+PLIST_FILES= bin/iso3166 man/man1/iso3166.1.gz
PORTDOCS= README
-MAN1= iso3166.1
-MAKE_ARGS= prefix="${PREFIX}" CC="${CC}" CCOPTS="${CFLAGS}" WARNINGS=""
+MAKE_ARGS= prefix="${STAGEDIR}${PREFIX}" CC="${CC}" CCOPTS="${CFLAGS}" WARNINGS=""
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>