1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2015-12-05 09:37:07 +00:00
parent 01e9a8d280
commit 53896eb27f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=403041

View File

@ -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}/