diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-23 06:07:50 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-23 06:07:50 +0000 |
commit | 3201ab695bf27b38054eba3b4966c80cc0a8c690 (patch) | |
tree | d09a706362667bbc42be5ff7d8c312c7a602ce9e /www/p5-HTTPD-User-Manage | |
parent | a1fe379914fcb7c79d261c6a7c006ab0351d1cc9 (diff) | |
download | pkgsrc-3201ab695bf27b38054eba3b4966c80cc0a8c690.tar.gz |
Added INSTALLATION_DIRS, fixed file permissions (one x bit) and
converted the package to using the SUBST framework.
PKGREVISION++
Diffstat (limited to 'www/p5-HTTPD-User-Manage')
-rw-r--r-- | www/p5-HTTPD-User-Manage/Makefile | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/www/p5-HTTPD-User-Manage/Makefile b/www/p5-HTTPD-User-Manage/Makefile index cef66cc542b..2c72ad922ec 100644 --- a/www/p5-HTTPD-User-Manage/Makefile +++ b/www/p5-HTTPD-User-Manage/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.14 2006/03/04 21:31:02 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2007/01/23 06:07:50 rillig Exp $ DISTNAME= HTTPD-User-Manage-1.58 PKGNAME= p5-${DISTNAME} SVR4_PKGNAME= p5hum -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTTPD/} @@ -13,23 +13,21 @@ COMMENT= Perl script/modules for managing web access control PERL5_PACKLIST= auto/HTTPD-User-Manage/.packlist REPLACE_PERL= user_manage +INSTALLATION_DIRS= bin libexec/cgi-bin share/doc/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 +SUBST_CLASSES+= um +SUBST_STAGE.um= pre-configure +SUBST_FILES.um= user_manage +SUBST_VARS.um= PKG_SYSCONFDIR + +post-extract: + chmod -x ${WRKSRC}/lib/HTTPD/UserAdmin/DBM.pm 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 |