diff options
author | miwi <miwi@FreeBSD.org> | 2013-03-02 22:54:19 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2013-03-02 22:54:19 +0800 |
commit | 41ef206d7c5b6c13fa550cb5ae23f1f15c3da040 (patch) | |
tree | bb8f7f2fea002c785c19daaa0c431b405fc6b90f /science | |
parent | 7cb409bee10901aee77221284e2a1778627de108 (diff) | |
download | freebsd-ports-gnome-41ef206d7c5b6c13fa550cb5ae23f1f15c3da040.tar.gz freebsd-ports-gnome-41ef206d7c5b6c13fa550cb5ae23f1f15c3da040.tar.zst freebsd-ports-gnome-41ef206d7c5b6c13fa550cb5ae23f1f15c3da040.zip |
- Update to 0.3
PR: 176540
Submitted by: Ports Fury
Diffstat (limited to 'science')
-rw-r--r-- | science/mol2ps/Makefile | 26 | ||||
-rw-r--r-- | science/mol2ps/distinfo | 4 | ||||
-rw-r--r-- | science/mol2ps/pkg-plist | 3 |
3 files changed, 19 insertions, 14 deletions
diff --git a/science/mol2ps/Makefile b/science/mol2ps/Makefile index 16e2e1ec9eaa..91772e90f8ce 100644 --- a/science/mol2ps/Makefile +++ b/science/mol2ps/Makefile @@ -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> diff --git a/science/mol2ps/distinfo b/science/mol2ps/distinfo index a72bb65bab96..531d1204f547 100644 --- a/science/mol2ps/distinfo +++ b/science/mol2ps/distinfo @@ -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 diff --git a/science/mol2ps/pkg-plist b/science/mol2ps/pkg-plist deleted file mode 100644 index dfb7a7edd997..000000000000 --- a/science/mol2ps/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -bin/mol2ps -%%DATADIR%%/color.conf -@dirrm %%DATADIR%% |