1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Fix pkg-plist [1]

- pet portlint(1)

Noticed by:	pointyhat via linimon [1]
This commit is contained in:
Rong-En Fan 2006-07-10 05:32:58 +00:00
parent a3a9430c9a
commit 9e6a69437a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167335
2 changed files with 19 additions and 12 deletions

View File

@ -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)

View File

@ -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