openbsd-ports/devel/opencm/Makefile
todd 47060f5673 OpenCM alpha16
OpenCM is designed as a secure, high-integrity replacement for CVS. A list of
the key features can be found on the features page. While not as ``feature
rich'' as CVS, it supports some useful things that CVS lacks. Briefly, OpenCM
provides first-class support for renames and configuration, cryptographic
authentication and access control, and first-class branches. 

The OpenCM project was originally started because we needed a secure,
high-integrity configuration management system for the EROS project.
Alternatives, such as BitKeeper, Subversion, and PerForce, either did not
meet our requirements or were not available at the time the work started. We
had previously used CVS, but it's absence of real branches and configurations
finally drove us to build a better tool.
2002-08-27 16:46:09 +00:00

63 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2002/08/27 16:46:09 todd Exp $
COMMENT= "OpenCM change management system"
COMMENT-docs= "OpenCM Documentation"
V= 0.1.0alpha16
sV= -1
DISTNAME= opencm-${V}${sV}-src
PKGNAME= opencm-${V}
FULLPKGNAME= opencm-${V}
FULLPKGNAME-docs= opencm-docs-${V}
CATEGORIES= devel
HOMEPAGE= http://www.opencm.org
MAINTAINER= Todd T. Fries <todd@openbsd.org>
# BSD/(GPL for diff3)
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
# where the source files and patches can be fetched
#
MASTER_SITES= http://www.opencm.org/releases/
EXTRACT_SUFX= .tgz
BUILD_DEPENDS= gc.1:boehm-gc->=6.0:devel/boehm-gc
LIB_DEPENDS= gc.1:boehm-gc->=6.0:devel/boehm-gc
USE_GMAKE= Yes
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
FLAVORS=docs
FLAVOR?=
MULTI_PACKAGES=
.if ${FLAVOR:L:Mdocs}
BUILD_DEPENDS+= :teTeX_base-1.0.*:print/teTeX/base
MULTI_PACKAGES+= -docs
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/opencm
${INSTALL_DATA} ${WRKSRC}/doc/opencm.html ${PREFIX}/share/doc/opencm
${INSTALL_DATA} ${WRKSRC}/doc/opencm.ps ${PREFIX}/share/doc/opencm
.else
MAKE_FLAGS= TEXI2DVI=: DVIPS=:
FAKE_FLAGS= TEXI2DVI=: DVIPS=:
.endif
MAKE_FLAGS+= LIBZ=-lz LIBGC=-lgc USOURCE_SUBDIRS="libgdiff src"
FAKE_FLAGS+= LIBZ=-lz LIBGC=-lgc USOURCE_SUBDIRS="libgdiff src"
WRKDIST= ${WRKDIR}/${PKGNAME}
WRKSRC= ${WRKDIST}/base
.include <bsd.port.mk>