svn commit: r318166 - head/databases/p5-T2

Martin Wilke miwi at FreeBSD.org
Tue May 14 16:09:05 UTC 2013


Author: miwi
Date: Tue May 14 16:09:04 2013
New Revision: 318166
URL: http://svnweb.freebsd.org/changeset/ports/318166

Log:
  - Update MASTER_SITES
  - Add Licence
  - Trim header
  
  PR:		178577
  Submitted by:	Ports Fury

Modified:
  head/databases/p5-T2/Makefile   (contents, props changed)

Modified: head/databases/p5-T2/Makefile
==============================================================================
--- head/databases/p5-T2/Makefile	Tue May 14 16:07:16 2013	(r318165)
+++ head/databases/p5-T2/Makefile	Tue May 14 16:09:04 2013	(r318166)
@@ -1,21 +1,20 @@
-# New ports collection makefile for:	p5-T2
-# Date created:	   			19 January 2004
-# Whom:		   			Scott McWhirter <scott at surreytech.co.uk>
-#
+# Created by: Scott McWhirter <scott at surreytech.co.uk>
 # $FreeBSD$
-#
 
 PORTNAME=	T2
 PORTVERSION=	0.10
 PORTREVISION=	2
 CATEGORIES=	databases perl5
 MASTER_SITES=	CPAN
-MASTER_SITE_SUBDIR=	Tangram/SAMV
+MASTER_SITE_SUBDIR=	CPAN:SAMV
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Object Relational mapping system
 
+LICENSE=	ART10 GPLv2
+LICENSE_COMB=	dual
+
 BUILD_DEPENDS=	p5-Set-Object>=0:${PORTSDIR}/devel/p5-Set-Object \
 		p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
 		p5-Tangram>=0:${PORTSDIR}/databases/p5-Tangram \
@@ -27,4 +26,11 @@ PERL_CONFIGURE=	yes
 MAN3=		T2.3 T2::Association.3 T2::Attribute.3 T2::Class.3 \
 		T2::DBSetup.3 T2::Method.3 T2::Schema.3 T2::Storage.3
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/eval/s|^|# | ; \
+		 /deploy/s|^|#| ; \
+		 /print/s|^|#| ; \
+		 /NOTESTS/s|^|#|' ${WRKSRC}/Makefile.PL
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list