diff options
author | rafan <rafan@FreeBSD.org> | 2006-07-10 13:32:58 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-07-10 13:32:58 +0800 |
commit | a87d27325c2d7fae2f4714d827dedab3d3c60296 (patch) | |
tree | 603a38bf349798dce9d4a17863e9ceb82b24a723 /biology | |
parent | 03b8c0d7c7f2dcec45b95626e28cbe6190001471 (diff) | |
download | freebsd-ports-gnome-a87d27325c2d7fae2f4714d827dedab3d3c60296.tar.gz freebsd-ports-gnome-a87d27325c2d7fae2f4714d827dedab3d3c60296.tar.zst freebsd-ports-gnome-a87d27325c2d7fae2f4714d827dedab3d3c60296.zip |
- Fix pkg-plist [1]
- pet portlint(1)
Noticed by: pointyhat via linimon [1]
Diffstat (limited to 'biology')
-rw-r--r-- | biology/mopac/Makefile | 13 | ||||
-rw-r--r-- | biology/mopac/pkg-plist | 18 |
2 files changed, 19 insertions, 12 deletions
diff --git a/biology/mopac/Makefile b/biology/mopac/Makefile index 71187b3240cd..6a48c12db050 100644 --- a/biology/mopac/Makefile +++ b/biology/mopac/Makefile @@ -10,23 +10,28 @@ PORTVERSION= 7.${MOPAC_SUBVERSION} PORTEPOCH= 1 CATEGORIES= biology MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= mopac7 +MASTER_SITE_SUBDIR= mopac7 DISTNAME= mopac7-${MOPAC_SUBVERSION} EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Semi-empirical (MNDO, etc.) molecular orbital calculation -BUILD_DEPENDS= f2c:${PORTSDIR}/lang/f2c -LIB_DEPENDS= f2c:${PORTSDIR}/lang/f2c +BUILD_DEPENDS= f2c:${PORTSDIR}/lang/f2c +LIB_DEPENDS= f2c:${PORTSDIR}/lang/f2c MOPAC_SUBVERSION= 1.10 WRKSRC= ${WRKDIR}/mopac7-${MOPAC_SUBVERSION} -GNU_CONFIGURE= yes +GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" MAKE_ENV+= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +post-patch: + @${REINPLACE_CMD} -e \ + "s,pkgconfigdir = .*,pkgconfigdir = $$\{exec_prefix\}/libdata/pkgconfig," \ + ${WRKSRC}/Makefile.in + post-install: ${INSTALL_SCRIPT} ${WRKSRC}/run_mopac7 ${PREFIX}/bin/mopac7 .if !defined(NOPORTDOCS) diff --git a/biology/mopac/pkg-plist b/biology/mopac/pkg-plist index 1459d9f32fec..43e463b4fd1c 100644 --- a/biology/mopac/pkg-plist +++ b/biology/mopac/pkg-plist @@ -1,17 +1,18 @@ bin/mopac7 include/mopac7/libmopac7.h -lib/libmopac7.so.0 -lib/libmopac7.la lib/libmopac7.a -lib/pkgconfig/libmopac7.pc +lib/libmopac7.la +lib/libmopac7.so +lib/libmopac7.so.0 +libdata/pkgconfig/libmopac7.pc %%PORTDOCS%%%%EXAMPLESDIR%%/test/1scf.dat %%PORTDOCS%%%%EXAMPLESDIR%%/test/elements.dat -%%PORTDOCS%%%%EXAMPLESDIR%%/test/force.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/test/force.dat %%PORTDOCS%%%%EXAMPLESDIR%%/test/geometry.dat -%%PORTDOCS%%%%EXAMPLESDIR%%/test/keys.dat -%%PORTDOCS%%%%EXAMPLESDIR%%/test/nch34+.dat -%%PORTDOCS%%%%EXAMPLESDIR%%/test/oldgeo.dat -%%PORTDOCS%%%%EXAMPLESDIR%%/test/paras.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/test/keys.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/test/nch34+.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/test/oldgeo.dat +%%PORTDOCS%%%%EXAMPLESDIR%%/test/paras.dat %%PORTDOCS%%%%EXAMPLESDIR%%/test/test_cos.dat %%PORTDOCS%%%%EXAMPLESDIR%%/test/test_ef_.dat %%PORTDOCS%%%%EXAMPLESDIR%%/test/test_gre.dat @@ -22,3 +23,4 @@ lib/pkgconfig/libmopac7.pc %%PORTDOCS%%%%EXAMPLESDIR%%/test/test_pol.OUT %%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/test %%PORTDOCS%%@dirrm %%EXAMPLESDIR%% +@dirrm include/mopac7 |