ports/176540: science/mol2ps: Update to version 0.3
KATO Tsuguru
tkato432 at yahoo.com
Thu Feb 28 18:10:05 UTC 2013
>Number: 176540
>Category: ports
>Synopsis: science/mol2ps: Update to version 0.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 28 18:10:04 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 0.3
Remove file:
pkg-plist
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/science/mol2ps/Makefile science/mol2ps/Makefile
--- /usr/ports/science/mol2ps/Makefile 2012-11-08 06:58:58.000000000 +0900
+++ science/mol2ps/Makefile 2013-02-26 15:58:46.000000000 +0900
@@ -2,27 +2,35 @@
# $FreeBSD: head/science/mol2ps/Makefile 305130 2012-10-01 14:45:16Z tabthorpe $
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 at 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 -urN /usr/ports/science/mol2ps/distinfo science/mol2ps/distinfo
--- /usr/ports/science/mol2ps/distinfo 2012-11-08 06:58:58.000000000 +0900
+++ science/mol2ps/distinfo 2013-02-25 23:56:53.000000000 +0900
@@ -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 -urN /usr/ports/science/mol2ps/pkg-plist science/mol2ps/pkg-plist
--- /usr/ports/science/mol2ps/pkg-plist 2012-11-08 06:58:58.000000000 +0900
+++ science/mol2ps/pkg-plist 1970-01-01 09:00:00.000000000 +0900
@@ -1,3 +0,0 @@
-bin/mol2ps
-%%DATADIR%%/color.conf
- at dirrm %%DATADIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list