From owner-svn-ports-head@FreeBSD.ORG Tue Dec 17 21:55:24 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE0A5FF7; Tue, 17 Dec 2013 21:55:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E34510C4; Tue, 17 Dec 2013 21:55:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBHLtOGA064019; Tue, 17 Dec 2013 21:55:24 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBHLtOJ3064018; Tue, 17 Dec 2013 21:55:24 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201312172155.rBHLtOJ3064018@svn.freebsd.org> From: Tijl Coosemans Date: Tue, 17 Dec 2013 21:55:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336776 - head/biology/platon X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 21:55:24 -0000 Author: tijl Date: Tue Dec 17 21:55:24 2013 New Revision: 336776 URL: http://svnweb.freebsd.org/changeset/ports/336776 Log: Version 2013.12.12, USES=fortran, staging. Modified: head/biology/platon/Makefile Modified: head/biology/platon/Makefile ============================================================================== --- head/biology/platon/Makefile Tue Dec 17 21:55:21 2013 (r336775) +++ head/biology/platon/Makefile Tue Dec 17 21:55:24 2013 (r336776) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= platon -PORTVERSION= 2007.01.09 -PORTREVISION= 6 +PORTVERSION= 2013.12.12 CATEGORIES= biology MASTER_SITES= http://www.cryst.chem.uu.nl/spek/xraysoft/unix/ DISTNAME= platon @@ -16,8 +15,8 @@ COMMENT= Tool for viewing molecular/crys # There is a charge of US$ 5000 for commercial users. RESTRICTED= free for academic, US$ 5000 for commercial users +USES= fortran USE_XORG= x11 -USE_FORTRAN= yes # This port only has snapshot archive IGNOREFILES= platon.tar.gz @@ -27,13 +26,8 @@ SAMPLES= azt.dat bucky.spf c476.spf c540 TESTDATADIR= ABSORB_EXAMPLE ABSTOMPA_EXAMPLE ABSTOMPA_TEST ADDSYM_EXAMPLE \ ASYM_EXAMPLE MULABS_EXAMPLE PSICOR_EXAMPLE SQUEEZE_EXAMPLE -NO_STAGE= yes .include -.if ${ARCH} == "alpha" -BROKEN= /usr/libexec/elf/ld: platon.o: .got subsegment exceeds 64K (size 88552) -.endif - pre-patch: (cd ${WRKDIR}/${DISTNAME} ; ${GUNZIP_CMD} platon.f.gz xdrvr.c.gz) @@ -41,29 +35,22 @@ post-patch: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile ${REINPLACE_CMD} -e "s+%%LOCALBASE%%+${LOCALBASE}+" ${WRKSRC}/Makefile -pre-install: - ${STRIP_CMD} ${WRKDIR}/${DISTNAME}/platon - ${RM} -f ${PREFIX}/bin/pluton - ${RM} -rf ${PREFIX}/share/doc/platon - ${MKDIR} ${PREFIX}/share/doc/platon - ${RM} -rf ${PREFIX}/share/doc/platon/TEST - ${MKDIR} ${PREFIX}/share/doc/platon/TEST - do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/platon ${PREFIX}/bin - ${LN} -s ${PREFIX}/bin/platon ${PREFIX}/bin/pluton - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README* \ - ${PREFIX}/share/doc/platon - for file in ${SAMPLES} ; do \ - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$${file} \ - ${PREFIX}/share/doc/platon ; \ - done + ${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/platon \ + ${STAGEDIR}${PREFIX}/bin + ${LN} -s platon ${STAGEDIR}${PREFIX}/bin/pluton + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/README* ${STAGEDIR}${DOCSDIR} +.for f in ${SAMPLES} + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$f ${STAGEDIR}${DOCSDIR} +.endfor ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/platon_html.tar.gz \ - ${PREFIX}/share/doc/platon - for dirs in ${TESTDATADIR} ; do \ - ${MKDIR} ${PREFIX}/share/doc/platon/TEST/$${dirs} && \ - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TEST/$${dirs}/* \ - ${PREFIX}/share/doc/platon/TEST/$${dirs} ; \ - done + ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/TEST +.for d in ${TESTDATADIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR}/TEST/$d + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/TEST/$d/* \ + ${STAGEDIR}${DOCSDIR}/TEST/$d +.endfor .include