diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-10-19 20:20:12 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-10-19 20:20:12 +0000 |
commit | 93f4b6a160401e117307b36c022f9f337e8418f6 (patch) | |
tree | 62760408e1f1a789ab5ec9e13f0d13971926324d | |
parent | f8189ecc53bffe998b5d6bc9569d18f6b2027669 (diff) | |
download | freebsd-ports-93f4b6a160401e117307b36c022f9f337e8418f6.zip |
- Add LICENSE
- Use USES=localbase
-rw-r--r-- | devel/p5-DateTime-Astro/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/devel/p5-DateTime-Astro/Makefile b/devel/p5-DateTime-Astro/Makefile index 1e90aef18a0b..eca62de2bb31 100644 --- a/devel/p5-DateTime-Astro/Makefile +++ b/devel/p5-DateTime-Astro/Makefile @@ -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 |