Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Apr 2016 06:38:24 +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: r413414 - head/biology/psi88
Message-ID:  <201604160638.u3G6cOFI059321@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Apr 16 06:38:23 2016
New Revision: 413414
URL: https://svnweb.freebsd.org/changeset/ports/413414

Log:
  - Switch to options helpers

Modified:
  head/biology/psi88/Makefile

Modified: head/biology/psi88/Makefile
==============================================================================
--- head/biology/psi88/Makefile	Sat Apr 16 04:19:07 2016	(r413413)
+++ head/biology/psi88/Makefile	Sat Apr 16 06:38:23 2016	(r413414)
@@ -13,6 +13,7 @@ COMMENT=	Plotting wavefunctions (molecul
 
 USES=		fortran tar:Z
 MAKE_ARGS=	BIN=${STAGEDIR}${PREFIX}/bin
+
 PLIST_FILES=	bin/PSI1 bin/PSICON bin/PSI2CT bin/PSI2HP bin/PSI2PS bin/PSI2 \
 		bin/PREPLOT bin/preplot bin/rpsi1 bin/rpsi2 bin/rpsicon
 PORTDOCS=	README psi88.doc
@@ -26,16 +27,20 @@ post-patch:
 	@${CP} ${FILESDIR}/Makefile.top ${WRKSRC}/Makefile
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/P*
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/P*
 	${LN} -s PSI2PS ${STAGEDIR}${PREFIX}/bin/PSI2
 	${INSTALL_SCRIPT} ${WRKSRC}/unix/preplot ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/unix/rpsi1 ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/unix/rpsi2 ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/unix/rpsicon ${STAGEDIR}${PREFIX}/bin
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/psi88.doc ${STAGEDIR}${DOCSDIR}
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604160638.u3G6cOFI059321>