svn commit: r408324 - head/graphics/xpx
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat Feb 6 23:17:37 UTC 2016
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
More information about the svn-ports-all
mailing list