aboutsummaryrefslogtreecommitdiff
path: root/science/checkmol
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-03-02 06:30:55 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-03-02 06:30:55 +0000
commit6ff86f1226e5b52b110359f1f98a8eab14b7e3e6 (patch)
tree4c48247eb578caf53fbb6282548fefd3685cdfcb /science/checkmol
parent3867f31f21c6baaa1f959ccdde9ff07729bd4da7 (diff)
downloadports-6ff86f1226e5b52b110359f1f98a8eab14b7e3e6.tar.gz
ports-6ff86f1226e5b52b110359f1f98a8eab14b7e3e6.zip
- Update to 0.4d
PR: 176547 Submitted by: ports fury
Notes
Notes: svn path=/head/; revision=313208
Diffstat (limited to 'science/checkmol')
-rw-r--r--science/checkmol/Makefile24
-rw-r--r--science/checkmol/distinfo4
2 files changed, 17 insertions, 11 deletions
diff --git a/science/checkmol/Makefile b/science/checkmol/Makefile
index e97a2d6d8f19..f9e064fc0dfb 100644
--- a/science/checkmol/Makefile
+++ b/science/checkmol/Makefile
@@ -2,27 +2,33 @@
# $FreeBSD$
PORTNAME= checkmol
-PORTVERSION= 0.4a
-PORTREVISION= 4
+PORTVERSION= 0.4d
CATEGORIES= science
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/checkmol/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .pas
+DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Analyze molecules for the presence of functional groups
+LICENSE= GPLv2 # (or later)
+
+NO_WRKSUBDIR= yes
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS= #
+EXTRACT_AFTER_ARGS= ${WRKDIR}
+
USE_FPC= yes
+
PLIST_FILES= bin/checkmol bin/matchmol
-do-extract:
- @${RM} -rf ${WRKDIR}
- @${MKDIR} ${WRKDIR}
- ${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/
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/
- ${LN} ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/matchmol
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
+ (cd ${PREFIX}/bin && ${LN} ${PORTNAME} matchmol)
.include <bsd.port.mk>
diff --git a/science/checkmol/distinfo b/science/checkmol/distinfo
index 2761d01b6e11..83eaebe70ec9 100644
--- a/science/checkmol/distinfo
+++ b/science/checkmol/distinfo
@@ -1,2 +1,2 @@
-SHA256 (checkmol.pas) = c69bc8dfd99b0735b4359995ce1480883022d6dab0cb751a4fc22685496bd5d7
-SIZE (checkmol.pas) = 443374
+SHA256 (checkmol-0.4d/checkmol.pas) = 1210ec187297cf5f194bc9a6a7629ff1f5e830fe2fe65006fc7fe518994682af
+SIZE (checkmol-0.4d/checkmol.pas) = 465084