[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.7, Thu Nov 19 17:13:24 2009 UTC (10 years ago) by schnoebe
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.6: +10 -5 lines

Update to 1.0.16, correct MASTER_SITE and HOMEPAGE,
add LICENSE, and PKG_DESTDIR_SUPPORT.

# $NetBSD: Makefile,v 1.7 2009/11/19 17:13:24 schnoebe Exp $

DISTNAME=		cvsd-1.0.16
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

PKG_DESTDIR_SUPPORT=	user-destdir
LICENSE=		gnu-gpl-v2

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"