aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/libtabe
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
committermat <mat@FreeBSD.org>2015-08-19 21:29:59 +0800
commit9d30f78a00bed11384c7259f662e9352754275db (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /chinese/libtabe
parent996088dedaf9d22bcd7c90caa96d33c0f68b08e7 (diff)
downloadfreebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.gz
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.tar.zst
freebsd-ports-gnome-9d30f78a00bed11384c7259f662e9352754275db.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Diffstat (limited to 'chinese/libtabe')
-rw-r--r--chinese/libtabe/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/chinese/libtabe/Makefile b/chinese/libtabe/Makefile
index 89019d716ec2..2612e165cda8 100644
--- a/chinese/libtabe/Makefile
+++ b/chinese/libtabe/Makefile
@@ -47,15 +47,14 @@ pre-everything::
@${ECHO_CMD} ""
.endif
-post-patch:
-.if !${PORT_OPTIONS:MX11}
+post-patch-X11-off:
${REINPLACE_CMD} -e '/all:/s/ bims//; /bims/d' \
${WRKSRC}/src/Makefile.in
-.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtabe.so
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/tsi-src/README \
${STAGEDIR}${DOCSDIR}/README.tsi
@@ -67,6 +66,5 @@ post-install:
et26.txt libtabe.sgml
${INSTALL_DATA} ${WRKSRC}/doc/${DOC} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>