summaryrefslogtreecommitdiff
path: root/devel/cvstrac/Makefile
blob: f2c3f65fd426c4bd08a6698f1d002d1c6b93d777 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Bruce M Simpson <bms@spc.org>
# $FreeBSD$

PORTNAME?=	cvstrac
PORTVERSION=	2.0.1
CATEGORIES=	devel
MASTER_SITES=	http://www.cvstrac.org/
DISTNAME=	cvstrac-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT?=	Web-Based Bug And Patch-Set Tracking System For CVS

LICENSE=	GPLv2

WRKSRC=		${WRKDIR}/${DISTNAME}

USES=		gmake pkgconfig
USE_SQLITE=	yes
MAKEFILE=	bsd-gcc.mk
MAKE_ARGS+=	BCC="${CC} ${CPPFLAGS}" TCC="${CC} ${CPPFLAGS}" \
		LIBSQLITE="${LDFLAGS}"
MAKE_JOBS_UNSAFE=	yes

CPPFLAGS+=	$$(pkg-config --cflags sqlite3)
LDFLAGS+=	$$(pkg-config --libs sqlite3) -lcrypt -lm

PLIST_FILES=	bin/${PORTNAME}

do-install:
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
		${STAGEDIR}${PREFIX}/bin)

.include <bsd.port.mk>