aboutsummaryrefslogtreecommitdiff
path: root/www/p5-Bundle-Sledge/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-Bundle-Sledge/Makefile')
-rw-r--r--www/p5-Bundle-Sledge/Makefile55
1 files changed, 23 insertions, 32 deletions
diff --git a/www/p5-Bundle-Sledge/Makefile b/www/p5-Bundle-Sledge/Makefile
index 1631998e7db2..37cca340ebac 100644
--- a/www/p5-Bundle-Sledge/Makefile
+++ b/www/p5-Bundle-Sledge/Makefile
@@ -15,41 +15,32 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= A bundle to install all modules used for Sledge
-BUILD_DEPENDS= ${PM_DEPENDS}
-RUN_DEPENDS= ${PM_DEPENDS}
-
-USE_APACHE= 13+
-.include <bsd.port.pre.mk>
-
-.if ${APACHE_VERSION} == 13
-PM_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache/Request.pm:${PORTSDIR}/www/p5-libapreq
-PM_DEPENDS+= ${SITE_PERL}/Apache/Reload.pm:${PORTSDIR}/www/p5-Apache-Reload
-.else
-PM_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2/Request.pm:${PORTSDIR}/www/p5-libapreq2
-.endif
-PM_DEPENDS+= ${SITE_PERL}/Test/Inline.pm:${PORTSDIR}/devel/p5-Test-Inline
-PM_DEPENDS+= ${SITE_PERL}/Carp/Assert.pm:${PORTSDIR}/devel/p5-Carp-Assert
-PM_DEPENDS+= ${SITE_PERL}/Class/Fields.pm:${PORTSDIR}/devel/p5-Class-Fields
-PM_DEPENDS+= ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor
-PM_DEPENDS+= ${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable
-PM_DEPENDS+= ${SITE_PERL}/Class/Singleton.pm:${PORTSDIR}/devel/p5-Class-Singleton
-PM_DEPENDS+= ${SITE_PERL}/Class/Trigger.pm:${PORTSDIR}/devel/p5-Class-Trigger
-PM_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
-PM_DEPENDS+= ${SITE_PERL}/HTML/FillInForm.pm:${PORTSDIR}/www/p5-HTML-FillInForm
-PM_DEPENDS+= ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template
-PM_DEPENDS+= ${SITE_PERL}/HTML/StickyQuery.pm:${PORTSDIR}/www/p5-HTML-StickyQuery
-PM_DEPENDS+= ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy
-PM_DEPENDS+= ${JCODE}:${PORTSDIR}/japanese/p5-Jcode
-PM_DEPENDS+= ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI
-PM_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit
-PM_DEPENDS+= ${SITE_PERL}/Data/Properties.pm:${PORTSDIR}/devel/p5-Data-Properties
-PM_DEPENDS+= ${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error
-PM_DEPENDS+= ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
-
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Apache2/Request.pm:${PORTSDIR}/www/p5-libapreq2 \
+ ${SITE_PERL}/Test/Inline.pm:${PORTSDIR}/devel/p5-Test-Inline \
+ ${SITE_PERL}/Carp/Assert.pm:${PORTSDIR}/devel/p5-Carp-Assert \
+ ${SITE_PERL}/Class/Fields.pm:${PORTSDIR}/devel/p5-Class-Fields \
+ ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \
+ ${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
+ ${SITE_PERL}/Class/Singleton.pm:${PORTSDIR}/devel/p5-Class-Singleton \
+ ${SITE_PERL}/Class/Trigger.pm:${PORTSDIR}/devel/p5-Class-Trigger \
+ ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+ ${SITE_PERL}/HTML/FillInForm.pm:${PORTSDIR}/www/p5-HTML-FillInForm \
+ ${SITE_PERL}/HTML/Template.pm:${PORTSDIR}/www/p5-HTML-Template \
+ ${SITE_PERL}/HTML/StickyQuery.pm:${PORTSDIR}/www/p5-HTML-StickyQuery \
+ ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \
+ ${JCODE}:${PORTSDIR}/japanese/p5-Jcode \
+ ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
+ ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \
+ ${SITE_PERL}/Data/Properties.pm:${PORTSDIR}/devel/p5-Data-Properties \
+ ${SITE_PERL}/Error.pm:${PORTSDIR}/lang/p5-Error \
+ ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USE_APACHE= 20+
PERL_CONFIGURE= yes
MAN3= Bundle::Sledge.3
JCODE= ${SITE_PERL}/Jcode.pm
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>