aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-12-21 19:40:00 +0800
committermarino <marino@FreeBSD.org>2015-12-21 19:40:00 +0800
commit56be78b3d469861d2be97cfc0a85889a80c0dc4b (patch)
tree023a8364f9d77651ea887a23131c57f11bfe1708 /science
parent3238f1a68cbed0360d3ebce5547ca3072424fdc9 (diff)
downloadfreebsd-ports-gnome-56be78b3d469861d2be97cfc0a85889a80c0dc4b.tar.gz
freebsd-ports-gnome-56be78b3d469861d2be97cfc0a85889a80c0dc4b.tar.zst
freebsd-ports-gnome-56be78b3d469861d2be97cfc0a85889a80c0dc4b.zip
science/mol2ps: Upgrade version 0.4a => 0.4b and unbreak
PR patch had to be modified after FPC was updated to 3.0.0 PR: 205218 Submitted by: Ports Fury
Diffstat (limited to 'science')
-rw-r--r--science/mol2ps/Makefile16
-rw-r--r--science/mol2ps/distinfo4
2 files changed, 9 insertions, 11 deletions
diff --git a/science/mol2ps/Makefile b/science/mol2ps/Makefile
index ffe8e7d994de..139227be6bc6 100644
--- a/science/mol2ps/Makefile
+++ b/science/mol2ps/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= mol2ps
-PORTVERSION= 0.4a
-PORTREVISION= 2
+PORTVERSION= 0.4b
CATEGORIES= science
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/${PORTNAME}/
DISTNAME= ${PORTNAME}
@@ -13,8 +12,6 @@ DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Read molecular structure files and generate Postscript output
-BROKEN= unfetchable
-
LICENSE= GPLv2 # (or later)
NO_WRKSUBDIR= yes
@@ -23,16 +20,17 @@ EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKSRC}
-USE_FPC= yes
+USE_FPC= rtl-objpas
-PLIST_FILES= bin/${PORTNAME} bin/mol2svg %%DATADIR%%/color.conf
+PLIST_FILES= bin/mol2eps bin/mol2ps bin/mol2svg %%DATADIR%%/color.conf
do-build:
- (cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3)
+ (cd ${WRKSRC} && ${LOCALBASE}/bin/fpc mol2ps -S2 -O3)
do-install:
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin)
- (cd ${STAGEDIR}${PREFIX}/bin && ${LN} ${PORTNAME} mol2svg)
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} mol2ps ${STAGEDIR}${PREFIX}/bin)
+ (cd ${STAGEDIR}${PREFIX}/bin && \
+ ${LN} mol2ps mol2eps && ${LN} mol2ps mol2svg)
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${FILESDIR} && ${INSTALL_DATA} color.conf ${STAGEDIR}${DATADIR})
diff --git a/science/mol2ps/distinfo b/science/mol2ps/distinfo
index c41dd046d1f0..c8538504def0 100644
--- a/science/mol2ps/distinfo
+++ b/science/mol2ps/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mol2ps-0.4a/mol2ps.pas) = bcc04c8dd0167d73c7aa3e84af1388d62b51e8046696c2eeb9796d09531ffc90
-SIZE (mol2ps-0.4a/mol2ps.pas) = 297704
+SHA256 (mol2ps-0.4b/mol2ps.pas) = f8cca84e7e520d6b329617dcfca9930b1ef98b507123479b6d5764ec5cae6577
+SIZE (mol2ps-0.4b/mol2ps.pas) = 297829