ports/176547: science/checkmol: Update to version 0.4d

KATO Tsuguru tkato432 at yahoo.com
Thu Feb 28 18:10:07 UTC 2013


>Number:         176547
>Category:       ports
>Synopsis:       science/checkmol: Update to version 0.4d
>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:07 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update to version 0.4d

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/science/checkmol/Makefile science/checkmol/Makefile
--- /usr/ports/science/checkmol/Makefile	2012-11-08 06:57:30.000000000 +0900
+++ science/checkmol/Makefile	2013-02-26 15:58:35.000000000 +0900
@@ -2,27 +2,33 @@
 # $FreeBSD: head/science/checkmol/Makefile 305130 2012-10-01 14:45:16Z tabthorpe $
 
 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 at 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 -urN /usr/ports/science/checkmol/distinfo science/checkmol/distinfo
--- /usr/ports/science/checkmol/distinfo	2012-11-08 06:57:30.000000000 +0900
+++ science/checkmol/distinfo	2013-02-25 23:56:11.000000000 +0900
@@ -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
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list