diff options
Diffstat (limited to 'biology/mopac/Makefile')
-rw-r--r-- | biology/mopac/Makefile | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/biology/mopac/Makefile b/biology/mopac/Makefile index 9c3158e7f7b1..a629f71d76b2 100644 --- a/biology/mopac/Makefile +++ b/biology/mopac/Makefile @@ -7,40 +7,40 @@ PORTNAME= mopac PORTVERSION= 7.${MOPAC_SUBVERSION} -PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= biology -MASTER_SITES= SF/${PORTNAME}7/${PORTNAME}7/${PORTNAME}7-1.10 -DISTNAME= mopac7-${MOPAC_SUBVERSION} -EXTRACT_SUFX= .tgz +MASTER_SITES= SF/${PORTNAME}7/${PORTNAME}7/${PORTNAME}7-1.00 +DISTNAME= ${PORTNAME}7-${MOPAC_SUBVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Semi-empirical (MNDO, etc.) molecular orbital calculation -BUILD_DEPENDS= f2c:${PORTSDIR}/lang/f2c LIB_DEPENDS= f2c:${PORTSDIR}/lang/f2c -MOPAC_SUBVERSION= 1.10 -WRKSRC= ${WRKDIR}/mopac7-${MOPAC_SUBVERSION} -GNU_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" -MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" -MAKE_JOBS_UNSAFE= yes -CFLAGS+= -I${LOCALBASE}/include +USE_AUTOTOOLS= aclocal:110 automake:110 autoconf:262 libtool:22 +ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal +AUTOMAKE_ARGS= --add-missing --copy +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +MAKE_JOBS_SAFE= yes +USE_LDCONFIG= yes + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + +MOPAC_SUBVERSION= 1.11 post-patch: - @${REINPLACE_CMD} -e \ - "s,pkgconfigdir = .*,pkgconfigdir = $$\{exec_prefix\}/libdata/pkgconfig," \ - ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/pkgconfig/s|$$(libdir)|$$(prefix)/libdata|g' \ + ${WRKSRC}/Makefile.am + @${REINPLACE_CMD} -e '/usage/s|run_||g' \ + ${WRKSRC}/run_${PORTNAME}7 post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/run_mopac7 ${PREFIX}/bin/mopac7 -.if !defined(NOPORTDOCS) - @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/run_${PORTNAME}7 ${PREFIX}/bin/${PORTNAME}7 +.if !defined(NOPORTEXAMPLES) @${MKDIR} ${EXAMPLESDIR}/test - ${INSTALL_DATA} ${WRKSRC}/tests/*dat ${EXAMPLESDIR}/test - ${INSTALL_DATA} ${WRKSRC}/tests/*OUT ${EXAMPLESDIR}/test + ${INSTALL_DATA} ${WRKSRC}/tests/*.dat ${EXAMPLESDIR}/test .endif .include <bsd.port.mk> |