svn commit: r399753 - head/devel/p5-DateTime-Astro

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Mon Oct 19 20:20:14 UTC 2015


Author: sunpoet
Date: Mon Oct 19 20:20:12 2015
New Revision: 399753
URL: https://svnweb.freebsd.org/changeset/ports/399753

Log:
  - Add LICENSE
  - Use USES=localbase

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

Modified: head/devel/p5-DateTime-Astro/Makefile
==============================================================================
--- head/devel/p5-DateTime-Astro/Makefile	Mon Oct 19 20:20:08 2015	(r399752)
+++ head/devel/p5-DateTime-Astro/Makefile	Mon Oct 19 20:20:12 2015	(r399753)
@@ -12,6 +12,8 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	Functions For Astromical Calendars
 
+LICENSE=	ART20
+
 BUILD_DEPENDS=	p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
 		p5-DateTime-Set>=0:${PORTSDIR}/devel/p5-DateTime-Set
 LIB_DEPENDS=	libmpfr.so:${PORTSDIR}/math/mpfr
@@ -19,10 +21,7 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 TEST_DEPENDS=	p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
 
 USE_PERL5=	configure
-USES=		gmake perl5
-
-post-configure:
-	@${REINPLACE_CMD} -e '/^INC = / s|$$| -I${LOCALBASE}/include|' ${WRKSRC}/Makefile
+USES=		gmake localbase perl5
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/DateTime/Astro/Astro.so


More information about the svn-ports-all mailing list