1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Update to 0.3

PR:		176540
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2013-03-02 14:54:19 +00:00
parent 20fba8f7f2
commit 0520efb9c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313253
3 changed files with 19 additions and 14 deletions

View File

@ -2,27 +2,35 @@
# $FreeBSD$
PORTNAME= mol2ps
PORTVERSION= 0.1e
PORTREVISION= 4
PORTVERSION= 0.3
CATEGORIES= science
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/${PORTNAME}/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .pas
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Read molecular structure files and generate Postscript output
LICENSE= GPLv2 # (or later)
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKDIR}
USE_FPC= yes
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}
${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/
PLIST_FILES= bin/${PORTNAME} %%DATADIR%%/color.conf
PLIST_DIRS= %%DATADIR%%
do-build:
cd ${WRKDIR}; ${LOCALBASE}/bin/fpc ${DISTFILES} -S2 -O3 -Op3
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3)
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${FILESDIR}/color.conf ${DATADIR}
(cd ${FILESDIR} && ${INSTALL_DATA} color.conf ${DATADIR})
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (mol2ps.pas) = 9e8b46132b8d1f5baea08231c04dd5a3051c52b5ca8da5a38141753a1344506f
SIZE (mol2ps.pas) = 165111
SHA256 (mol2ps-0.3/mol2ps.pas) = f71600df00e1373053b45551273367efbb44778a4fed4d6f456b1a37edb4f2d3
SIZE (mol2ps-0.3/mol2ps.pas) = 273737

View File

@ -1,3 +0,0 @@
bin/mol2ps
%%DATADIR%%/color.conf
@dirrm %%DATADIR%%