aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/pancho/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-01-16 10:51:48 +0800
committeredwin <edwin@FreeBSD.org>2003-01-16 10:51:48 +0800
commite5672ab0e959d31987a68919cacfca49aebb4753 (patch)
tree31e36f1b0236bae051350708f3e21c24ae1c3866 /net-mgmt/pancho/Makefile
parent3d86f712aa7e4ea28b87077420cd6f04c40acdf5 (diff)
downloadfreebsd-ports-gnome-e5672ab0e959d31987a68919cacfca49aebb4753.tar.gz
freebsd-ports-gnome-e5672ab0e959d31987a68919cacfca49aebb4753.tar.zst
freebsd-ports-gnome-e5672ab0e959d31987a68919cacfca49aebb4753.zip
Maintainer update net/pancho to 9.0.1
PR: ports/46997 Submitted by: Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
Diffstat (limited to 'net-mgmt/pancho/Makefile')
-rw-r--r--net-mgmt/pancho/Makefile30
1 files changed, 15 insertions, 15 deletions
diff --git a/net-mgmt/pancho/Makefile b/net-mgmt/pancho/Makefile
index 863000e1e89d..bf9083f74484 100644
--- a/net-mgmt/pancho/Makefile
+++ b/net-mgmt/pancho/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pancho
-PORTVERSION= 7.1.0
+PORTVERSION= 9.0.1
CATEGORIES= net
MASTER_SITES= http://www.panchoproject.org/archives/pancho/
DISTNAME= pancho-v${PORTVERSION}
@@ -17,22 +17,22 @@ RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SNMP.pm:${PORTSDIR
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Parallel/ForkManager.pm:${PORTSDIR}/devel/p5-Parallel-ForkManager
+WRKSRC= ${WRKDIR}/Pancho-${PORTVERSION}
USE_PERL5= YES
-NO_BUILD= YES
+PERL_CONFIGURE= YES
-pre-patch:
- @${CHMOD} u+w ${WRKSRC}/pancho
- @${MV} ${WRKSRC}/pancho ${WRKSRC}/pancho.old
- @${SED} -e '1,1s:/usr/bin/perl:${PERL5}:' \
- < ${WRKSRC}/pancho.old > ${WRKSRC}/pancho
- @${RM} ${WRKSRC}/pancho.old
- @${MV} ${WRKSRC}/pancho ${WRKSRC}/pancho.old
- @${SED} -e '28,1s:pancho.conf:${PREFIX}/etc/pancho.conf:' \
- < ${WRKSRC}/pancho.old > ${WRKSRC}/pancho
- @${RM} ${WRKSRC}/pancho.old
+MAN1= pancho.1
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/pancho ${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/samples/sample.conf ${PREFIX}/etc/pancho.conf.sample
+post-patch:
+ @${MV} ${WRKSRC}/lib/Pancho/Plugins/README ${WRKSRC}/README.plugins
+ @${MV} ${WRKSRC}/lib/Pancho/Plugins/Plugin.sample ${WRKSRC}/
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/samples/sample.conf ${PREFIX}/etc/pancho.conf.sample
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
+.for f in README README.plugins Plugin.sample
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}
+.endfor
+.endif
.include <bsd.port.mk>