mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
65 lines
2.1 KiB
Makefile
65 lines
2.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= jmx4perl
|
|
PORTVERSION= 1.11
|
|
CATEGORIES= net-mgmt perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= CPAN:ROLAND
|
|
PKGNAMEPREFIX= p5-
|
|
DISTFILES= ${DISTNAME}_2${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= tj@FreeBSD.org
|
|
COMMENT= JMX access for Perl
|
|
|
|
RUN_DEPENDS= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
|
|
p5-Carp>=0:${PORTSDIR}/devel/p5-Carp \
|
|
p5-Config-General>=0:${PORTSDIR}/devel/p5-Config-General \
|
|
p5-Crypt-Blowfish_PP>=0:${PORTSDIR}/security/p5-Crypt-Blowfish_PP \
|
|
p5-Crypt-OpenPGP>=0:${PORTSDIR}/security/p5-Crypt-OpenPGP \
|
|
p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \
|
|
p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
|
|
p5-File-SearchPath>=0:${PORTSDIR}/devel/p5-File-SearchPath \
|
|
p5-File-Temp>=0:${PORTSDIR}/devel/p5-File-Temp \
|
|
p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \
|
|
p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
|
|
p5-Module-Find>=0:${PORTSDIR}/devel/p5-Module-Find \
|
|
p5-Nagios-Plugin>=0:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
|
|
p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils \
|
|
p5-Sys-SigAction>=0:${PORTSDIR}/devel/p5-Sys-SigAction \
|
|
p5-Term-Clui>=0:${PORTSDIR}/devel/p5-Term-Clui \
|
|
p5-Term-ProgressBar>=0:${PORTSDIR}/devel/p5-Term-ProgressBar \
|
|
p5-Term-ShellUI>=0:${PORTSDIR}/shells/p5-Term-ShellUI \
|
|
p5-Term-Size>=0:${PORTSDIR}/devel/p5-Term-Size \
|
|
p5-Text-ParseWords>=0:${PORTSDIR}/textproc/p5-Text-ParseWords \
|
|
p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes \
|
|
p5-URI>=0:${PORTSDIR}/net/p5-URI \
|
|
p5-XML-LibXML>=0:${PORTSDIR}/textproc/p5-XML-LibXML \
|
|
p5-XML-Twig>=0:${PORTSDIR}/textproc/p5-XML-Twig \
|
|
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
|
|
BUILD_DEPENDS:= ${RUN_DEPENDS}
|
|
|
|
USES= perl5
|
|
USE_PERL5= modbuild
|
|
|
|
ETC_FILES= common.cfg \
|
|
glassfish.cfg \
|
|
jboss.cfg \
|
|
jetty.cfg \
|
|
memory.cfg \
|
|
metrics.cfg \
|
|
threads.cfg \
|
|
tomcat.cfg \
|
|
weblogic.cfg
|
|
|
|
SUB_FILES= pkg-install pkg-deinstall
|
|
SUB_LIST= ETC_FILES="${ETC_FILES}"
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}_2
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
.for f in ${ETC_FILES}
|
|
${INSTALL_DATA} ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|