Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Mar 2013 06:30:56 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r313208 - head/science/checkmol
Message-ID:  <201303020630.r226UudI071587@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303020630.r226UudI071587>