aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-06-22 10:02:35 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-06-22 10:02:35 +0800
commitea6ddf1985b8500a8c5c4459653f2a365d25e369 (patch)
tree0dd04de3a6035b9aad8a8da47fb8247fc4c45a5d /devel
parenta60a489ad4e60cbbcc903044aec2ba51c36b6cf3 (diff)
downloadfreebsd-ports-gnome-ea6ddf1985b8500a8c5c4459653f2a365d25e369.tar.gz
freebsd-ports-gnome-ea6ddf1985b8500a8c5c4459653f2a365d25e369.tar.zst
freebsd-ports-gnome-ea6ddf1985b8500a8c5c4459653f2a365d25e369.zip
- Remove duplicate TEST_DEPENDS
- Use bsd.port.mk instead of bsd.port.pre.mk and bsd.port.post.mk - Cleanup Makefile header
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-DateTime-Astro/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/devel/p5-DateTime-Astro/Makefile b/devel/p5-DateTime-Astro/Makefile
index 3e29cdad391f..cde6cf208a57 100644
--- a/devel/p5-DateTime-Astro/Makefile
+++ b/devel/p5-DateTime-Astro/Makefile
@@ -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 Calendars
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}-${PORTVERSION:R}${PORTVERSION:E}
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>