freebsd-ports/science/msms/Makefile

40 lines
1.2 KiB
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= msms
DISTVERSION= 2.6.1
CATEGORIES= science
MASTER_SITES= http://mgltools.scripps.edu/downloads/tars/releases/MSMSRELEASE/REL${DISTVERSION}/
DISTNAME= ${PORTNAME}_${ARCH_MSMS_DIST}Linux2_${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Program to efficiently compute molecular surfaces
LICENSE= MSMS_LICENSE
LICENSE_NAME= MSMS License
2018-09-10 08:07:38 +02:00
LICENSE_FILE= ${WRKDIR}/license.txt
LICENSE_PERMS= no-auto-accept no-dist-mirror no-pkg-mirror # No redistribution is allowed.
ONLY_FOR_ARCHS= amd64 i386
ONLY_FOR_ARCHS_REASON= Binaries available only for ${ONLY_FOR_ARCHS}.
RESTRICTED= No commercial use, only for use by individuals
NO_BUILD= yes
ARCH_MSMS_DIST= ${ARCH:S/amd64/i86_64/:S/i386/i86/}
ARCH_MSMS_FILE= ${ARCH:S/amd64/x86_64/:S/i386/i86/}
DISTINFO_FILE= ${MASTERDIR}/distinfo-${ARCH}
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
post-extract:
2018-09-10 08:07:38 +02:00
@${AWK} -f ${FILESDIR}/extract-license.awk < ${WRKDIR}/README > ${LICENSE_FILE}
do-install:
2018-09-10 08:07:38 +02:00
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}.${ARCH_MSMS_FILE}Linux2.${DISTVERSION}${ARCH:S/amd64/.staticgcc/:S/i386//} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>