diff options
author | linimon <linimon@FreeBSD.org> | 2009-06-15 05:42:17 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2009-06-15 05:42:17 +0800 |
commit | 85145788e1ad4262c7c133da4076f8e6eda55d0c (patch) | |
tree | 978df77a59aa159efcc92d90efe155fe8a34a067 /net-mgmt/cricket | |
parent | b31e7064ff0b48cc80902cd376742040c9e3e280 (diff) | |
download | freebsd-ports-gnome-85145788e1ad4262c7c133da4076f8e6eda55d0c.tar.gz freebsd-ports-gnome-85145788e1ad4262c7c133da4076f8e6eda55d0c.tar.zst freebsd-ports-gnome-85145788e1ad4262c7c133da4076f8e6eda55d0c.zip |
Move USE_PERL and friends above bsd.port.pre.mk inclusion.
Diffstat (limited to 'net-mgmt/cricket')
-rw-r--r-- | net-mgmt/cricket/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/net-mgmt/cricket/Makefile b/net-mgmt/cricket/Makefile index b5b63c6bde70..83e23d8aca2a 100644 --- a/net-mgmt/cricket/Makefile +++ b/net-mgmt/cricket/Makefile @@ -21,25 +21,26 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/RRDs.pm:${PORTSDIR}/databases/rrdtool \ ${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net-mgmt/p5-SNMP_Session \ ${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate -.include <bsd.port.pre.mk> - -# A reliable version of Time::HiRes is included with perl 5.8.7 and later. -.if ${PERL_LEVEL} < 500807 -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes -.endif - -HAS_CONFIGURE= yes USE_PERL5= yes +HAS_CONFIGURE= yes NO_BUILD= yes PLIST_SUB+= VERSION=${PORTVERSION} SUB_FILES= pkg-message pkg-install SUB_LIST= USER="${CRICKET_USER}" GROUP="${CRICKET_GROUP}" UID="${CRICKET_UID}" GID="${CRICKET_GID}" + # UID and username comes from ports/UIDs. CRICKET_USER= cricket CRICKET_UID= 141 CRICKET_GROUP= www CRICKET_GID= 80 +.include <bsd.port.pre.mk> + +# A reliable version of Time::HiRes is included with perl 5.8.7 and later. +.if ${PERL_LEVEL} < 500807 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes +.endif + post-patch: @${REINPLACE_CMD} -e 's,/home/cricket,${PREFIX},g' \ ${WRKSRC}/cricket-conf.pl.sample |