1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/biology/mopac/Makefile
Martin Wilke 3cb69b845f - Update to 7.1.11
PR:		141812
Submitted by:	Ports Fury
2009-12-22 11:25:15 +00:00

47 lines
1.2 KiB
Makefile

# New ports collection makefile for: mopac
# Date created: 1997-04-23
# Whom: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= mopac
PORTVERSION= 7.${MOPAC_SUBVERSION}
PORTEPOCH= 1
CATEGORIES= biology
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
LIB_DEPENDS= f2c:${PORTSDIR}/lang/f2c
USE_GMAKE= yes
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 '/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_${PORTNAME}7 ${PREFIX}/bin/${PORTNAME}7
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}/test
${INSTALL_DATA} ${WRKSRC}/tests/*.dat ${EXAMPLESDIR}/test
.endif
.include <bsd.port.mk>