Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2015 20:20:13 +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: r399753 - head/devel/p5-DateTime-Astro
Message-ID:  <201510192020.t9JKKDGt028437@repo.freebsd.org>

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



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