openbsd-ports/devel/cvstrac/Makefile

39 lines
871 B
Makefile
Raw Normal View History

2013-03-11 06:50:00 -04:00
# $OpenBSD: Makefile,v 1.7 2013/03/11 10:50:02 espie Exp $
COMMENT = patch-set and bug tracking system for CVS
DISTNAME = cvstrac-2.0.1
2010-11-07 20:22:36 -05:00
PKGNAME = ${DISTNAME}
2012-04-23 13:15:17 -04:00
REVISION = 2
CATEGORIES = devel www
HOMEPAGE = http://www.cvstrac.org/
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${HOMEPAGE}
2010-11-07 20:22:36 -05:00
WANTLIB = c m sqlite3
USE_GMAKE = Yes
MAKE_FILE = bsd-gcc.mk
MAKE_FLAGS = BCC="${CC} ${CFLAGS} -I${LOCALBASE}/include" \
TCC="${CC} ${CFLAGS} -I${LOCALBASE}/include" \
LIBSQLITE="`pkg-config --libs sqlite3` -lm"
2013-03-11 06:50:00 -04:00
NO_TEST = Yes
2009-02-16 19:20:26 -05:00
pre-configure:
@${SUBST_CMD} ${WRKSRC}/wikiinit.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cvstrac ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cvstrac
${INSTALL_DATA} ${WRKSRC}/index.html ${WRKSRC}/howitworks.html \
${PREFIX}/share/doc/cvstrac
.include <bsd.port.mk>