svn commit: r412493 - head/math/pspp

Carlos J. Puga Medina cpm at FreeBSD.org
Mon Apr 4 00:55:34 UTC 2016


Author: cpm
Date: Mon Apr  4 00:55:33 2016
New Revision: 412493
URL: https://svnweb.freebsd.org/changeset/ports/412493

Log:
  - Use post-install-DOCS-on target
  - Use post-install-EXAMPLES-on target
  
  Approved by:	junovitch (mentor)

Modified:
  head/math/pspp/Makefile

Modified: head/math/pspp/Makefile
==============================================================================
--- head/math/pspp/Makefile	Sun Apr  3 22:15:36 2016	(r412492)
+++ head/math/pspp/Makefile	Mon Apr  4 00:55:33 2016	(r412493)
@@ -63,14 +63,13 @@ post-install:
 .if ${PORT_OPTIONS:MGUI}
 	${RM} -r ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/mimetypes
 .endif
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
 	(cd ${WRKSRC} && ${COPYTREE_SHARE} \
 		"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
-.endif
 
-.if ${PORT_OPTIONS:MEXAMPLES}
+post-install-EXAMPLES-on:
 	(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \
 		"${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR})
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list