aboutsummaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2013-04-29 17:30:09 +0000
committerXin LI <delphij@FreeBSD.org>2013-04-29 17:30:09 +0000
commit59816216bcf38a1cfb83517f2f1d823643b5ac09 (patch)
tree0fd47db61779cd8bad4eefdbd0174e203041ae5e /biology
parent4e4178dab5c2825019e9652f1ba4f102253a31df (diff)
downloadports-59816216bcf38a1cfb83517f2f1d823643b5ac09.tar.gz
ports-59816216bcf38a1cfb83517f2f1d823643b5ac09.zip
Notes
Diffstat (limited to 'biology')
-rw-r--r--biology/mopac/Makefile4
-rw-r--r--biology/mopac/pkg-plist1
2 files changed, 4 insertions, 1 deletions
diff --git a/biology/mopac/Makefile b/biology/mopac/Makefile
index 20eb7487a319..d9b9374db924 100644
--- a/biology/mopac/Makefile
+++ b/biology/mopac/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mopac
PORTVERSION= 7.${MOPAC_SUBVERSION}
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= SF/${PORTNAME}7/${PORTNAME}7/${PORTNAME}7-1.00
@@ -34,10 +34,12 @@ post-patch:
@${REINPLACE_CMD} -e '/pkgconfig/s|$$(libdir)|$$(prefix)/libdata|g' \
${WRKSRC}/Makefile.am
@${REINPLACE_CMD} -e '/usage/s|run_||g' \
+ -e 's|./src/mopac7|${PREFIX}/libexec/mopac7|g' \
${WRKSRC}/run_${PORTNAME}7
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/run_${PORTNAME}7 ${PREFIX}/bin/${PORTNAME}7
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/${PORTNAME}7 ${PREFIX}/libexec/${PORTNAME}7
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}/test
${INSTALL_DATA} ${WRKSRC}/tests/*.dat ${EXAMPLESDIR}/test
diff --git a/biology/mopac/pkg-plist b/biology/mopac/pkg-plist
index 047335d5b77e..374dde127ac3 100644
--- a/biology/mopac/pkg-plist
+++ b/biology/mopac/pkg-plist
@@ -5,6 +5,7 @@ lib/libmopac7.la
lib/libmopac7.so
lib/libmopac7.so.0
libdata/pkgconfig/libmopac7.pc
+libexec/mopac7
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test/1scf.dat
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test/elements.dat
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test/force.dat