summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-05-09 00:01:39 +0000
committerbapt <bapt@FreeBSD.org>2014-05-09 00:01:39 +0000
commit17a3ec3cd0941d8532cada16674478d30d1aa775 (patch)
tree74076b54cc0b3d8d7fc7fa214d791ccb6f3c3e66
parent72f10dcfb9baa954ddcf04f752b8b4e30ff0f327 (diff)
downloadFreeBSD-ports-17a3ec3cd0941d8532cada16674478d30d1aa775.zip
FreeBSD-ports-17a3ec3cd0941d8532cada16674478d30d1aa775.tar.gz
Support stage
-rw-r--r--japanese/Wnn7-lib/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/japanese/Wnn7-lib/Makefile b/japanese/Wnn7-lib/Makefile
index 0b546f9..503eece 100644
--- a/japanese/Wnn7-lib/Makefile
+++ b/japanese/Wnn7-lib/Makefile
@@ -22,7 +22,6 @@ PORTDOCS= README
OPTIONS_DEFINE= DOCS
OPTIONS_DEFAULT=DOCS
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${WRKSRC}/config/Project.tmpl \
@@ -34,14 +33,10 @@ post-patch:
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make World -f Makefile.ini
-.include <bsd.port.options.mk>
-
post-install:
- ${MKDIR} ${PREFIX}/include/wnn7/wnn
- ${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${PREFIX}/include/wnn7/wnn
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/wnn7/wnn
+ ${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${STAGEDIR}${PREFIX}/include/wnn7/wnn
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud