Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2013 02:02:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r321517 - head/devel/p5-DateTime-Astro
Message-ID:  <201306220202.r5M22ZZo033625@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Jun 22 02:02:35 2013
New Revision: 321517
URL: http://svnweb.freebsd.org/changeset/ports/321517

Log:
  - Remove duplicate TEST_DEPENDS
  - Use bsd.port.mk instead of bsd.port.pre.mk and bsd.port.post.mk
  - Cleanup Makefile header

Modified:
  head/devel/p5-DateTime-Astro/Makefile

Modified: head/devel/p5-DateTime-Astro/Makefile
==============================================================================
--- head/devel/p5-DateTime-Astro/Makefile	Sat Jun 22 01:58:17 2013	(r321516)
+++ head/devel/p5-DateTime-Astro/Makefile	Sat Jun 22 02:02:35 2013	(r321517)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	p5-DateTime-Astro
-# Date created:		2011-11-29
-# Whom:			Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	DateTime-Astro
 PORTVERSION=	0.99.999
@@ -19,10 +15,7 @@ COMMENT=	Functions For Astromical Calend
 BUILD_DEPENDS=	p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
 		p5-DateTime-Set>=0:${PORTSDIR}/devel/p5-DateTime-Set
 LIB_DEPENDS=	mpfr:${PORTSDIR}/math/mpfr
-RUN_DEPENDS=	p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
-		p5-DateTime-Set>=0:${PORTSDIR}/devel/p5-DateTime-Set
-TEST_DEPENDS=	p5-Test-Exception>0:${PORTSDIR}/devel/p5-Test-Exception
-
+RUN_DEPENDS:=	${BUILD_DEPENDS}
 TEST_DEPENDS=	p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
 
 PERL_CONFIGURE=	yes
@@ -32,9 +25,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVER
 MAN3=		DateTime::Astro.3 \
 		DateTime::Event::SolarTerm.3
 
-.include <bsd.port.pre.mk>
-
 post-configure:
 	@${REINPLACE_CMD} -e '/^INC = / s|$$| -I${LOCALBASE}/include|' ${WRKSRC}/Makefile
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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