diff options
author | pawel <pawel@FreeBSD.org> | 2014-03-23 18:10:41 +0000 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-03-23 18:10:41 +0000 |
commit | 832e88f979438171e8df9ed0143f84e82e330866 (patch) | |
tree | 3bd2e7b883776725bd2ba47345359b2b8bfac97d | |
parent | cde21fdae790f5da1023dfd491713f0b7c16dd23 (diff) | |
download | FreeBSD-ports-832e88f979438171e8df9ed0143f84e82e330866.zip FreeBSD-ports-832e88f979438171e8df9ed0143f84e82e330866.tar.gz |
- Add staging support
- Strip library
-rw-r--r-- | biology/mopac/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/biology/mopac/Makefile b/biology/mopac/Makefile index a3c0cc1..a51b539 100644 --- a/biology/mopac/Makefile +++ b/biology/mopac/Makefile @@ -3,7 +3,7 @@ PORTNAME= mopac PORTVERSION= 7.${MOPAC_SUBVERSION} -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= biology MASTER_SITES= SF/${PORTNAME}7/${PORTNAME}7/${PORTNAME}7-1.00 @@ -29,7 +29,6 @@ PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e '/pkgconfig/s|$$(libdir)|$$(prefix)/libdata|g' \ ${WRKSRC}/Makefile.am @@ -37,14 +36,13 @@ post-patch: -e 's|./src/mopac7|${PREFIX}/libexec/mopac7|g' \ ${WRKSRC}/run_${PORTNAME}7 -.include <bsd.port.options.mk> - post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/run_${PORTNAME}7 ${PREFIX}/bin/${PORTNAME}7 - ${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/${PORTNAME}7 ${PREFIX}/libexec/${PORTNAME}7 -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR}/test - ${INSTALL_DATA} ${WRKSRC}/tests/*.dat ${EXAMPLESDIR}/test -.endif + ${INSTALL_SCRIPT} ${WRKSRC}/run_${PORTNAME}7 \ + ${STAGEDIR}${PREFIX}/bin/${PORTNAME}7 + ${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/${PORTNAME}7 \ + ${STAGEDIR}${PREFIX}/libexec/${PORTNAME}7 + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/test + ${INSTALL_DATA} ${WRKSRC}/tests/*.dat ${STAGEDIR}${EXAMPLESDIR}/test + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmopac7.so.0 .include <bsd.port.mk> |