eee58d187e
Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr
61 lines
1.9 KiB
Makefile
61 lines
1.9 KiB
Makefile
# Created by: Corey Smith <corsmith@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= torrus
|
|
PORTVERSION= 2.07
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= SF/torrus/torrus/
|
|
|
|
MAINTAINER= corsmith@gmail.com
|
|
COMMENT= Data Series Processing Framework - think mrtg with xml configs
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= rrdtool>=0:${PORTSDIR}/databases/rrdtool \
|
|
p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \
|
|
p5-BerkeleyDB>=0:${PORTSDIR}/databases/p5-BerkeleyDB \
|
|
p5-Template-Toolkit>=0:${PORTSDIR}/www/p5-Template-Toolkit \
|
|
p5-Proc-Daemon>=0:${PORTSDIR}/devel/p5-Proc-Daemon \
|
|
p5-Net-SNMP>=0:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
|
|
p5-URI>=0:${PORTSDIR}/net/p5-URI \
|
|
p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
|
|
p5-Apache-Session>=0:${PORTSDIR}/www/p5-Apache-Session \
|
|
p5-FCGI>=0:${PORTSDIR}/www/p5-FCGI \
|
|
p5-JSON>0:${PORTSDIR}/converters/p5-JSON
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USE_GNOME= libxml2
|
|
USES= perl5
|
|
USE_PERL5= run
|
|
GNU_CONFIGURE= YES
|
|
|
|
USERS= torrus
|
|
GROUPS= torrus
|
|
PLIST_SUB= TORRUS_USER=${USERS}
|
|
USE_RC_SUBR= torrus_collector torrus_monitor
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
var_user=${USERS} var_group=${USERS} \
|
|
torrus_user=${USERS} \
|
|
defrrddir=/var/torrus/collector_rrd \
|
|
pkghome=${DATADIR} \
|
|
pkgbindir=${PREFIX}/libexec/torrus \
|
|
pkgdocdir=${DOCSDIR} \
|
|
exmpdir=${EXAMPLESDIR} \
|
|
perllibdir=${PREFIX}/${SITE_PERL_REL} \
|
|
scriptsdir=${PREFIX}/libexec/torrus/scripts \
|
|
--enable-pkgonly
|
|
|
|
post-install:
|
|
${INSTALL} -d -m 2775 ${STAGEDIR}/var/log/torrus
|
|
${INSTALL} -d -m 775 ${STAGEDIR}/var/torrus
|
|
${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/cache
|
|
${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/collector_rrd
|
|
${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/db
|
|
${INSTALL} -d -m 775 ${STAGEDIR}/var/torrus/reports
|
|
${INSTALL} -d -m 775 ${STAGEDIR}/var/torrus/session_data
|
|
${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/session_data/lock
|
|
${INSTALL} -d -m 2775 ${STAGEDIR}/var/torrus/session_data/store
|
|
|
|
.include <bsd.port.mk>
|