2019-11-03 11:39:04 +01:00
|
|
|
# $NetBSD: Makefile,v 1.21 2019/11/03 10:39:09 rillig Exp $
|
2006-05-21 01:38:16 +02:00
|
|
|
|
2012-05-18 05:21:06 +02:00
|
|
|
DISTNAME= cvsd-1.0.23
|
2019-08-11 15:17:48 +02:00
|
|
|
PKGREVISION= 9
|
2007-02-17 21:59:46 +01:00
|
|
|
CATEGORIES= devel scm
|
2017-08-01 16:58:51 +02:00
|
|
|
MASTER_SITES= https://arthurdejong.org/cvsd/
|
2006-05-21 01:38:16 +02:00
|
|
|
|
|
|
|
MAINTAINER= eric@cirr.com
|
2017-08-01 16:58:51 +02:00
|
|
|
HOMEPAGE= https://arthurdejong.org/cvsd/
|
2006-05-21 01:38:16 +02:00
|
|
|
COMMENT= Run CVS pserver in a chroot-ed environment
|
2009-11-19 18:13:24 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2014-03-17 18:58:54 +01:00
|
|
|
.if !exists(/usr/bin/cvs)
|
2019-11-03 11:39:04 +01:00
|
|
|
DEPENDS+= cvs>=1.11:../../devel/scmcvs
|
2014-03-17 18:58:54 +01:00
|
|
|
.endif
|
|
|
|
|
2006-05-21 01:38:16 +02:00
|
|
|
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}
|
2007-07-04 22:54:31 +02:00
|
|
|
PKG_GROUPS_VARS+= CVSD_GROUP
|
|
|
|
PKG_USERS_VARS+= CVSD_USER
|
2006-05-21 01:38:16 +02:00
|
|
|
|
2009-11-19 18:13:24 +01:00
|
|
|
INSTALLATION_DIRS= ${EGDIR}
|
|
|
|
|
2006-05-21 01:38:16 +02:00
|
|
|
pre-install:
|
2009-11-19 18:13:24 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}/${EGDIR}
|
2006-05-21 01:38:16 +02:00
|
|
|
|
|
|
|
.include "../../security/tcp_wrappers/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|