Bug 176547

Summary: science/checkmol: Update to version 0.4d
Product: Ports & Packages Reporter: tkato432
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description tkato432 2013-02-28 18:10:07 UTC
- Update to version 0.4d
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-28 18:12:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

araujo@ wants this submitter's PRs (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2013-03-01 15:02:10 UTC
Responsible Changed
From-To: araujo->miwi

I'll take it.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2013-03-02 06:30:58 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-03-02 06:31:04 UTC
Author: miwi
Date: Sat Mar  2 06:30:55 2013
New Revision: 313208
URL: http://svnweb.freebsd.org/changeset/ports/313208

Log:
  - Update to 0.4d
  
  PR:		176547
  Submitted by:	ports fury

Modified:
  head/science/checkmol/Makefile
  head/science/checkmol/distinfo   (contents, props changed)

Modified: head/science/checkmol/Makefile
==============================================================================
--- head/science/checkmol/Makefile	Sat Mar  2 06:29:42 2013	(r313207)
+++ head/science/checkmol/Makefile	Sat Mar  2 06:30:55 2013	(r313208)
@@ -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>

Modified: head/science/checkmol/distinfo
==============================================================================
--- head/science/checkmol/distinfo	Sat Mar  2 06:29:42 2013	(r313207)
+++ head/science/checkmol/distinfo	Sat Mar  2 06:30:55 2013	(r313208)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"