Bug 176540 - science/mol2ps: Update to version 0.3
Summary: science/mol2ps: Update to version 0.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-28 18:10 UTC by tkato432
Modified: 2013-03-02 15:00 UTC (History)
0 users

See Also:


Attachments
file.diff (2.15 KB, patch)
2013-02-28 18:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-02-28 18:10:04 UTC
- Update to version 0.3

Remove file:
pkg-plist
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-02-28 18:11:23 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:01:55 UTC
Responsible Changed
From-To: araujo->miwi

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

Committed. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-03-02 14:54:28 UTC
Author: miwi
Date: Sat Mar  2 14:54:19 2013
New Revision: 313253
URL: http://svnweb.freebsd.org/changeset/ports/313253

Log:
  - Update to 0.3
  
  PR:		176540
  Submitted by:	Ports Fury

Deleted:
  head/science/mol2ps/pkg-plist
Modified:
  head/science/mol2ps/Makefile
  head/science/mol2ps/distinfo   (contents, props changed)

Modified: head/science/mol2ps/Makefile
==============================================================================
--- head/science/mol2ps/Makefile	Sat Mar  2 14:53:32 2013	(r313252)
+++ head/science/mol2ps/Makefile	Sat Mar  2 14:54:19 2013	(r313253)
@@ -2,27 +2,35 @@
 # $FreeBSD$
 
 PORTNAME=	mol2ps
-PORTVERSION=	0.1e
-PORTREVISION=	4
+PORTVERSION=	0.3
 CATEGORIES=	science
 MASTER_SITES=	http://merian.pch.univie.ac.at/pch/download/chemistry/${PORTNAME}/
 DISTNAME=	${PORTNAME}
 EXTRACT_SUFX=	.pas
+DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Read molecular structure files and generate Postscript output
 
+LICENSE=	GPLv2 # (or later)
+
+NO_WRKSUBDIR=	yes
+
+EXTRACT_CMD=	${CP}
+EXTRACT_BEFORE_ARGS=	#
+EXTRACT_AFTER_ARGS=	${WRKDIR}
+
 USE_FPC=	yes
 
-do-extract:
-	@${RM} -rf ${WRKDIR}
-	@${MKDIR} ${WRKDIR}
-	${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/
+PLIST_FILES=	bin/${PORTNAME} %%DATADIR%%/color.conf
+PLIST_DIRS=	%%DATADIR%%
+
 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
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
 	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${FILESDIR}/color.conf ${DATADIR}
+	(cd ${FILESDIR} && ${INSTALL_DATA} color.conf ${DATADIR})
 
 .include <bsd.port.mk>

Modified: head/science/mol2ps/distinfo
==============================================================================
--- head/science/mol2ps/distinfo	Sat Mar  2 14:53:32 2013	(r313252)
+++ head/science/mol2ps/distinfo	Sat Mar  2 14:54:19 2013	(r313253)
@@ -1,2 +1,2 @@
-SHA256 (mol2ps.pas) = 9e8b46132b8d1f5baea08231c04dd5a3051c52b5ca8da5a38141753a1344506f
-SIZE (mol2ps.pas) = 165111
+SHA256 (mol2ps-0.3/mol2ps.pas) = f71600df00e1373053b45551273367efbb44778a4fed4d6f456b1a37edb4f2d3
+SIZE (mol2ps-0.3/mol2ps.pas) = 273737
_______________________________________________
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"