aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libpreps/Makefile
blob: cdba457a2593c80a327eabf0d989791de7abd61f (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
34
35
36
37
38
39
40
41
# New ports collection makefile for:    libpreps
# Date created:     Fri Mar 19 14:27:30 EET 2004
# Whom:         shadow@psoft.net
#
# $FreeBSD$
#

PORTNAME=   libpreps
PORTVERSION=    1.6.6
CATEGORIES= devel
MASTER_SITES=   http://webpages.charter.net/stuffle/linux/preps/
DIST_SUBDIR=    prep

MAINTAINER= shadow@psoft.net
COMMENT=    Problem reporting system

LIB_DEPENDS=    pq.3:${PORTSDIR}/databases/postgresql7

CONFLICTS=  libpreps-devel-1.9.*

USE_GMAKE=  yes
USE_REINPLACE=  yes
USE_GNOME=  glib12
USE_LIBTOOL=    yes

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS+=--with-pgsqldir=${LOCALBASE} --with-plpgsqldir=${LOCALBASE}

INSTALLS_SHLIB= yes

.if defined(WITHOUT_SERVER)
CONFIGURE_ARGS+=--disable-server
PKGNAMESUFFIX=  -client
PLIST_SUB+= SERVER="@comment "
.else
MAN1=       create_prepsdb.1 update_prepsdb.1
PLIST_SUB+= SERVER=""
.endif

.include <bsd.port.mk>