aboutsummaryrefslogtreecommitdiff
path: root/chinese/autoconvert
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-05 09:37:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-12-05 09:37:07 +0000
commit53896eb27fe222f4cde1453b04fb2752461ec98d (patch)
tree6f54640780952c676dc6d42e272e21a1932cdbfb /chinese/autoconvert
parent01e9a8d2808033dcf07cc9320757f1bf95d70dac (diff)
downloadports-53896eb27fe222f4cde1453b04fb2752461ec98d.tar.gz
ports-53896eb27fe222f4cde1453b04fb2752461ec98d.zip
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=403041
Diffstat (limited to 'chinese/autoconvert')
-rw-r--r--chinese/autoconvert/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/chinese/autoconvert/Makefile b/chinese/autoconvert/Makefile
index e148d7905375..e2ed68677ea1 100644
--- a/chinese/autoconvert/Makefile
+++ b/chinese/autoconvert/Makefile
@@ -15,12 +15,12 @@ COMMENT= Intelligent Chinese encoding converter
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
-OPTIONS_DEFINE= DOCS
-
MAKE_JOBS_UNSAFE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|CFLAG|CFLAGS|' -e 's|make|$$(MAKE)|' \
${WRKSRC}/Makefile
@@ -28,7 +28,7 @@ post-patch:
-e 's|CFLAGS=|&${CPPFLAGS} ${CFLAGS} |' \
${WRKSRC}/Makefile ${WRKSRC}/hzconvert/Makefile
-post-install:
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
cd ${WRKSRC}/ && ${INSTALL_DATA} ChangeLog Readme TODO Thanks Version ${STAGEDIR}${DOCSDIR}/