[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / cvsd

File: [cvs.NetBSD.org] / pkgsrc / devel / cvsd / Makefile (download)

Revision 1.16, Fri Jun 12 10:48:48 2015 UTC (4 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.15: +2 -2 lines

Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.

# $NetBSD: Makefile,v 1.16 2015/06/12 10:48:48 wiz Exp $

DISTNAME=		cvsd-1.0.23
PKGREVISION=		6
CATEGORIES=		devel scm
MASTER_SITES=		http://arthurdejong.org/cvsd/

MAINTAINER=		eric@cirr.com
HOMEPAGE=		http://arthurdejong.org/cvsd/
COMMENT=		Run CVS pserver in a chroot-ed environment
LICENSE=		gnu-gpl-v2

.if !exists(/usr/bin/cvs)
DEPENDS+=   		cvs>=1.11:../../devel/scmcvs
.endif

USE_TOOLS+=		gmake perl
GNU_CONFIGURE=		YES

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+=	--with-libwrap

RCD_SCRIPTS=		cvsd

EGDIR=			${PREFIX}/share/examples/cvsd
CONF_FILES=		${EGDIR}/cvsd.conf.example ${PKG_SYSCONFDIR}/cvsd.conf

CVSD_USER?=		cvsd
CVSD_GROUP?=		cvsd
PKG_USERS=		${CVSD_USER}:${CVSD_GROUP}
PKG_GECOS.${CVSD_USER}=	CVS wrapper
PKG_GROUPS=		${CVSD_GROUP}
PKG_GROUPS_VARS+=	CVSD_GROUP
PKG_USERS_VARS+=	CVSD_USER

INSTALLATION_DIRS=	${EGDIR}

pre-install:
	${INSTALL_DATA_DIR} ${DESTDIR}/${EGDIR}

.include "../../security/tcp_wrappers/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"