pkgsrc/www/p5-HTTPD-User-Manage/Makefile
jlam 7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2005/07/13 18:01:47 jlam Exp $
DISTNAME= HTTPD-User-Manage-1.58
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5hum
PKGREVISION= 1
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTPD/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://stein.cshl.org/~lstein/user_manage/
COMMENT= Perl script/modules for managing web access control
PERL5_PACKLIST= auto/HTTPD-User-Manage/.packlist
REPLACE_PERL= user_manage
PKG_SYSCONFSUBDIR?= httpd
post-patch:
cd ${WRKSRC}; for file in user_manage; do \
${SED} -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g" \
$${file} > $${file}.fixed; \
if [ -x $${file} ]; then \
${CHMOD} +x $${file}.fixed; \
fi; \
${MV} -f $${file}.fixed $${file}; \
done
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/user_manage ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/user_manage ${PREFIX}/libexec/cgi-bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/user_manage
${INSTALL_DATA} ${WRKSRC}/user_manage.html \
${PREFIX}/share/doc/user_manage/user_manage.html
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"