2012-03-09 13:33:57 +01:00
|
|
|
# $NetBSD: Makefile,v 1.24 2012/03/09 12:34:05 wiz Exp $
|
2004-08-15 16:32:27 +02:00
|
|
|
|
2008-06-13 06:55:53 +02:00
|
|
|
DISTNAME= Codeville-0.8.0
|
|
|
|
PKGNAME= codeville-0.8.0
|
2012-03-09 13:33:57 +01:00
|
|
|
PKGREVISION= 6
|
2007-02-17 21:59:46 +01:00
|
|
|
CATEGORIES= devel scm
|
2005-02-22 16:35:56 +01:00
|
|
|
MASTER_SITES= http://codeville.org/download/
|
2004-08-15 16:32:27 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2005-02-22 16:35:56 +01:00
|
|
|
HOMEPAGE= http://codeville.org/
|
|
|
|
COMMENT= Distributed revision control system
|
2012-01-27 11:19:16 +01:00
|
|
|
LICENSE= modified-bsd
|
2004-08-15 16:32:27 +02:00
|
|
|
|
2008-06-12 04:14:13 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
2012-01-27 11:19:16 +01:00
|
|
|
|
2008-06-13 06:55:53 +02:00
|
|
|
REPLACE_PYTHON= *.py
|
|
|
|
REPLACE_PYTHON+= */*.py
|
|
|
|
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
BUILD_DEFS_EFFECTS+= CODEVILLE_DATADIR
|
|
|
|
CODEVILLE_DATADIR?= ${VARBASE}/db/cdv
|
|
|
|
|
2008-06-13 07:57:07 +02:00
|
|
|
# XXX Could create a user for the server, rc script, server directory hier, etc.
|
2008-06-13 06:55:53 +02:00
|
|
|
|
|
|
|
CONF_FILES= ${EGDIR}/cdvserver.conf \
|
|
|
|
${PKG_SYSCONFDIR}/cdvserver.conf
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
2008-06-13 07:57:07 +02:00
|
|
|
SUBST_FILES.paths= cdvserver.conf.sample cdvpasswd cdvserver
|
2008-06-13 06:55:53 +02:00
|
|
|
SUBST_MESSAGE.paths= performing pathname substitutions
|
2008-06-13 07:57:07 +02:00
|
|
|
SUBST_STAGE.paths= pre-configure
|
2008-06-13 06:55:53 +02:00
|
|
|
SUBST_VARS.paths= CODEVILLE_DATADIR VARBASE PKG_SYSCONFDIR
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cdvserver.conf.sample \
|
|
|
|
${DESTDIR}${EGDIR}/cdvserver.conf
|
2004-08-15 16:32:27 +02:00
|
|
|
|
|
|
|
.include "../../lang/python/application.mk"
|
2012-01-27 11:19:16 +01:00
|
|
|
.include "../../lang/python/distutils.mk"
|
2004-08-15 16:32:27 +02:00
|
|
|
.include "../../databases/py-bsddb3/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|