2005-09-11 13:46:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.17 2005/09/11 11:46:08 wiz Exp $
|
2000-10-21 20:57:04 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ispman-0.5
|
|
|
|
PKGNAME= p5-${DISTNAME}
|
2005-08-06 08:19:03 +02:00
|
|
|
PKGREVISION= 3
|
2001-10-18 17:20:01 +02:00
|
|
|
SVR4_PKGNAME= p5isp
|
2000-10-21 20:57:04 +02:00
|
|
|
CATEGORIES= net perl5
|
2000-11-11 18:49:22 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ispman/}
|
2000-10-21 20:57:04 +02:00
|
|
|
|
2004-10-07 07:36:49 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2000-10-21 20:57:04 +02:00
|
|
|
HOMEPAGE= http://www.ispman.org/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Perl module for ISPMan webAdministrator and command line utils
|
2000-10-21 20:57:04 +02:00
|
|
|
|
2001-09-05 19:18:21 +02:00
|
|
|
DEPENDS+= {p5-CGI>=2.72,perl>=5.6.1nb2}:../../www/p5-CGI
|
2000-10-21 20:57:04 +02:00
|
|
|
DEPENDS+= p5-Text-Template>=1.23:../../textproc/p5-Text-Template
|
|
|
|
DEPENDS+= p5-perl-ldap>=0.22:../../databases/p5-perl-ldap
|
|
|
|
DEPENDS+= p5-IMAP-Admin>=1.2.5:../../mail/p5-IMAP-Admin
|
|
|
|
DEPENDS+= p5-Convert-ASN1>=0.07:../../textproc/p5-Convert-ASN1
|
|
|
|
DEPENDS+= p5-IO-stringy>=1.213:../../devel/p5-IO-stringy
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/ispman/Modules/ISPMan
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/ISPMan/.packlist
|
2002-10-27 21:48:55 +01:00
|
|
|
PERL5_CONFIGURE_DIRS= ${WRKSRC} ${WRKSRC}/../IO-stringy-1.212_patched
|
|
|
|
BUILD_DIRS= ${PERL5_CONFIGURE_DIRS}
|
|
|
|
INSTALL_DIRS= ${WRKSRC}
|
2000-10-21 20:57:04 +02:00
|
|
|
|
|
|
|
MAKE_PARAMS+= --noprompt
|
|
|
|
|
2002-10-27 21:48:55 +01:00
|
|
|
pre-configure:
|
2000-10-21 20:57:04 +02:00
|
|
|
cd ${WRKSRC} && \
|
|
|
|
for i in `${FIND} * -type f -print` ; do \
|
|
|
|
${CP} $$i $$i.old && \
|
|
|
|
${SED} < $$i.old > $$i -e 's:/etc:${PREFIX}/etc:g' && \
|
|
|
|
${RM} $$i.old ; \
|
2002-10-27 21:48:55 +01:00
|
|
|
done
|
2000-10-21 20:57:04 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../IO-stringy-1.212_patched/lib/IO/Scalar.pm \
|
2005-09-11 13:46:08 +02:00
|
|
|
${PERL5_INSTALLVENDORLIB}/IO/ScalarPatched.pm
|
2000-10-21 20:57:04 +02:00
|
|
|
|
2002-10-27 21:48:55 +01:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2000-10-21 20:57:04 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|