mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
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
This commit is contained in:
parent
3ced058353
commit
b30c97fbcf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=404090
@ -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})
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user