1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/biology/mopac/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
# $FreeBSD$
PORTNAME= mopac
PORTVERSION= 7.${MOPAC_SUBVERSION}
PORTREVISION= 6
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= http://bioinformatics.org/ghemical/download/%SUBDIR%/
MASTER_SITE_SUBDIR= release20111012 current
DISTNAME= mopac7-${MOPAC_SUBVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Semi-empirical (MNDO, etc.) molecular orbital calculation
LICENSE= GPLv2+
USES= fortran gmake libtool pathfix
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
MOPAC_SUBVERSION= 1.15
post-patch:
@${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 \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}7
${INSTALL_PROGRAM} ${WRKSRC}/fortran/.libs/${PORTNAME}7 \
${STAGEDIR}${PREFIX}/libexec/${PORTNAME}7
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/test
${INSTALL_DATA} ${WRKSRC}/tests/*.dat ${STAGEDIR}${EXAMPLESDIR}/test
.include <bsd.port.mk>