1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/biology/platon/Makefile
Ruslan Makhmatkhanov ba777286a4 biology/platon: fix fetching
Add working mirror.
Also update file size in distinfo - checksum is not changed
and I dunno why. But with old file size it warns that expected
size was different.

PR:		204491
Submitted by:	Walter Schwarzenfeld <w.litter@aon.at>
2015-11-19 20:13:00 +00:00

49 lines
1.5 KiB
Makefile

# Created by: Ryo MIYAMOTO <rmiya@cc.hirosaki-u.ac.jp>
# $FreeBSD$
PORTNAME= platon
PORTVERSION= 2015.03.30
CATEGORIES= biology
MASTER_SITES= http://www.platonsoft.nl/spek/xraysoft/unix/
DISTNAME= platon
DIST_SUBDIR= platon/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for viewing molecular/crystallographic structures
# PLATON may be used free of charge by the academic community under
# the condition that it is not redistributed for a current & fresh copy.
# There is a charge of US$ 5000 for commercial users.
NO_CDROM= free for academic, US$ 5000 for commercial users
USES= fortran
USE_XORG= x11
SAMPLES= azt.dat bucky.spf c476.spf c540.cart3d check.def cubane.spf \
cyto.spf ml.pdb s810c.cif s913a.res sucrose.spf
TESTDATADIR= ABSORB_EXAMPLE ABSTOMPA_EXAMPLE ABSTOMPA_TEST ADDSYM_EXAMPLE \
ASYM_EXAMPLE MULABS_EXAMPLE PSICOR_EXAMPLE SQUEEZE_EXAMPLE
OPTIONS_DEFINE= DOCS
MAKEFILE= ${FILESDIR}/Makefile
pre-patch:
${GUNZIP_CMD} ${WRKSRC}/platon.f.gz ${WRKSRC}/xdrvr.c.gz
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/platon \
${STAGEDIR}${PREFIX}/bin
${LN} -fs platon ${STAGEDIR}${PREFIX}/bin/pluton
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MV} ${WRKDIR}/${DISTNAME}/README* ${STAGEDIR}${DOCSDIR}/
${MV} ${SAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
${MV} ${WRKSRC}/platon_html.tar.gz \
${STAGEDIR}${DOCSDIR}
${MV} ${WRKSRC}/TEST ${STAGEDIR}${DOCSDIR}/
${FIND} ${STAGEDIR}${DOCSDIR} -type f -print0 | \
${XARGS} -0 ${CHMOD} ${_SHAREMODE}
.include <bsd.port.mk>