File:  [cvs.NetBSD.org] / pkgsrc / www / p5-HTTPD-User-Manage / Makefile
Revision 1.28: download - view: text, annotated - select for diffs
Wed Jun 8 19:25:08 2016 UTC (8 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, HEAD
Bump PKGREVISION for perl-5.24.

# $NetBSD: Makefile,v 1.28 2016/06/08 19:25:08 wiz Exp $

DISTNAME=	HTTPD-User-Manage-1.66
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	7
CATEGORIES=	www perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN:=HTTPD/}

MAINTAINER=	pkgsrc-users@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
INSTALLATION_DIRS=	bin libexec/cgi-bin share/doc/user_manage

PKG_SYSCONFSUBDIR?=	httpd

SUBST_CLASSES+=		um
SUBST_STAGE.um=		pre-configure
SUBST_FILES.um=		user_manage
SUBST_VARS.um=		PKG_SYSCONFDIR

post-extract:
	chmod a-x ${WRKSRC}/lib/HTTPD/UserAdmin/DBM.pm

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/user_manage ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/user_manage \
		${DESTDIR}${PREFIX}/libexec/cgi-bin
	${INSTALL_DATA} ${WRKSRC}/user_manage.html \
		${DESTDIR}${PREFIX}/share/doc/user_manage/user_manage.html

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>