aa67e11089
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2014/01/25 10:30:01 wiz Exp $
|
|
|
|
DISTNAME= Codeville-0.8.0
|
|
PKGNAME= codeville-0.8.0
|
|
PKGREVISION= 6
|
|
CATEGORIES= devel scm
|
|
MASTER_SITES= http://codeville.org/download/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://codeville.org/
|
|
COMMENT= Distributed revision control system
|
|
LICENSE= modified-bsd
|
|
|
|
REPLACE_PYTHON= *.py
|
|
REPLACE_PYTHON+= */*.py
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.8.0
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
BUILD_DEFS_EFFECTS+= CODEVILLE_DATADIR
|
|
CODEVILLE_DATADIR?= ${VARBASE}/db/cdv
|
|
|
|
# XXX Could create a user for the server, rc script, server directory hier, etc.
|
|
|
|
CONF_FILES= ${EGDIR}/cdvserver.conf \
|
|
${PKG_SYSCONFDIR}/cdvserver.conf
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= cdvserver.conf.sample cdvpasswd cdvserver
|
|
SUBST_MESSAGE.paths= performing pathname substitutions
|
|
SUBST_STAGE.paths= pre-configure
|
|
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
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../databases/py-bsddb3/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|