diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-10-20 04:20:12 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-10-20 04:20:12 +0800 |
commit | 891b2ca92f8705bbf2e08e95333c0e7b25aa64c7 (patch) | |
tree | 62760408e1f1a789ab5ec9e13f0d13971926324d /devel | |
parent | 0fd61665f784147cf5be045fc4d47995d8719ae5 (diff) | |
download | freebsd-ports-gnome-891b2ca92f8705bbf2e08e95333c0e7b25aa64c7.tar.gz freebsd-ports-gnome-891b2ca92f8705bbf2e08e95333c0e7b25aa64c7.tar.zst freebsd-ports-gnome-891b2ca92f8705bbf2e08e95333c0e7b25aa64c7.zip |
- Add LICENSE
- Use USES=localbase
Diffstat (limited to 'devel')
-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 |