Date: Sat, 6 Feb 2016 23:17:36 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408324 - head/graphics/xpx Message-ID: <201602062317.u16NHati019856@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Feb 6 23:17:35 2016 New Revision: 408324 URL: https://svnweb.freebsd.org/changeset/ports/408324 Log: - Switch to options helpers Modified: head/graphics/xpx/Makefile Modified: head/graphics/xpx/Makefile ============================================================================== --- head/graphics/xpx/Makefile Sat Feb 6 23:17:26 2016 (r408323) +++ head/graphics/xpx/Makefile Sat Feb 6 23:17:35 2016 (r408324) @@ -17,9 +17,12 @@ USES= imake:notall USE_XORG= x11 xext DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} + PORTDOCS= xpx.doc xpxrc.eg PLIST_FILES= bin/xpx +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|myname|my_name|g' ${WRKSRC}/magtoppm.c @${REINPLACE_CMD} -e '/edit_mode/d' ${WRKSRC}/work.h @@ -27,8 +30,8 @@ post-patch: pre-configure: @(cd ${CONFIGURE_WRKSRC}; ${SH} configure) -post-install: - ${MKDIR} ${STAGEDIR}${DOCSDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602062317.u16NHati019856>