2000-02-13 21:00:09 +00:00
|
|
|
# New ports collection makefile for: Cricket
|
|
|
|
# Date created: 20 November 1999
|
|
|
|
# Whom: torstenb
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= cricket
|
2000-08-18 20:47:18 +00:00
|
|
|
PORTVERSION= 1.0.2
|
2000-02-13 21:00:09 +00:00
|
|
|
CATEGORIES= net
|
2000-08-18 20:47:18 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-07-31 15:52:54 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-02-13 21:00:09 +00:00
|
|
|
|
|
|
|
MAINTAINER= torstenb@FreeBSD.org
|
|
|
|
|
2000-08-18 20:47:18 +00:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net/p5-SNMP_Session \
|
|
|
|
${SITE_PERL}/RRDs.pm:${PORTSDIR}/net/rrdtool \
|
|
|
|
${SITE_PERL}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
|
|
|
|
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
|
|
|
|
${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \
|
|
|
|
${SITE_PERL}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
|
2000-02-13 21:00:09 +00:00
|
|
|
|
2000-08-18 20:47:18 +00:00
|
|
|
SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VERSION}/${PERL_ARCH}
|
2000-02-13 21:27:56 +00:00
|
|
|
NO_PACKAGE= "needs customization"
|
2000-02-13 21:00:09 +00:00
|
|
|
USE_PERL5= yes
|
|
|
|
SCRIPTS_ENV+= PERL5=${PERL5}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} -m 755 ${PREFIX}/cricket
|
|
|
|
@${CP} -R ${WRKSRC}/* ${PREFIX}/cricket
|
|
|
|
@find ${PREFIX}/cricket -name \*.orig -or -name \*.bak | xargs ${RM} -f
|
|
|
|
|
2000-02-13 21:27:56 +00:00
|
|
|
post-install:
|
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "Cricket has been installed in ${PREFIX}/cricket. You'll find"
|
|
|
|
@${ECHO} "executables and configfiles there. Please take a look at"
|
2000-08-18 20:47:18 +00:00
|
|
|
@${ECHO} "http://cricket.sourceforge.net/. The documentation can"
|
2000-02-13 21:27:56 +00:00
|
|
|
@${ECHO} "be found in ${PREFIX}/cricket/doc/ too."
|
|
|
|
|
2000-02-13 21:00:09 +00:00
|
|
|
.include <bsd.port.mk>
|