aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-05-09 08:01:50 +0800
committerbapt <bapt@FreeBSD.org>2014-05-09 08:01:50 +0800
commitaa29a5136e51d3910b285078f7457bd7c11ffb54 (patch)
tree059a61cdb38b423133b60eb5a42fcd041926121f /japanese
parent17a3ec3cd0941d8532cada16674478d30d1aa775 (diff)
downloadfreebsd-ports-gnome-aa29a5136e51d3910b285078f7457bd7c11ffb54.tar.gz
freebsd-ports-gnome-aa29a5136e51d3910b285078f7457bd7c11ffb54.tar.zst
freebsd-ports-gnome-aa29a5136e51d3910b285078f7457bd7c11ffb54.zip
Support stage
Diffstat (limited to 'japanese')
-rw-r--r--japanese/Wnn6-lib/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/japanese/Wnn6-lib/Makefile b/japanese/Wnn6-lib/Makefile
index c39c65aa0eda..739a77995e95 100644
--- a/japanese/Wnn6-lib/Makefile
+++ b/japanese/Wnn6-lib/Makefile
@@ -11,12 +11,13 @@ DISTNAME= Wnn6-SDK
MAINTAINER= hrs@FreeBSD.org
COMMENT= Wnn6 client library
+OPTIONS_DEFINE= DOCS
+
USES= imake
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/src/contrib/im/Xsi
PORTDOCS= README
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${WRKSRC}/config/Project.tmpl \
@@ -27,12 +28,10 @@ do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} make World -f Makefile.ini
post-install:
- ${LN} -sf libwnn6_fromsrc.a ${PREFIX}/lib/libwnn6.a
- ${MKDIR} ${PREFIX}/include/wnn6/wnn
- ${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${PREFIX}/include/wnn6/wnn
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${LN} -sf libwnn6_fromsrc.a ${STAGEDIR}${PREFIX}/lib/libwnn6.a
+ ${MKDIR} ${STAGEDIR}${PREFIX}/include/wnn6/wnn
+ ${INSTALL_DATA} ${WRKSRC}/Wnn/include/*.h ${STAGEDIR}${PREFIX}/include/wnn6/wnn
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>