svn commit: r403041 - head/chinese/autoconvert

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Dec 5 09:37:08 UTC 2015


Author: amdmi3
Date: Sat Dec  5 09:37:07 2015
New Revision: 403041
URL: https://svnweb.freebsd.org/changeset/ports/403041

Log:
  - Switch to options helpers

Modified:
  head/chinese/autoconvert/Makefile

Modified: head/chinese/autoconvert/Makefile
==============================================================================
--- head/chinese/autoconvert/Makefile	Sat Dec  5 09:37:00 2015	(r403040)
+++ head/chinese/autoconvert/Makefile	Sat Dec  5 09:37:07 2015	(r403041)
@@ -15,12 +15,12 @@ COMMENT=	Intelligent Chinese encoding co
 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}/
 


More information about the svn-ports-all mailing list