aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
Diffstat (limited to 'science')
-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