aboutsummaryrefslogtreecommitdiffstats
path: root/databases/kpogre/Makefile
blob: e6814ddba86217cdbaea21ef84e6c82d29267ef0 (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
# New ports collection makefile for:    kpogre
# Date created:     2008-06-04
# Whom:         Max Brazhnikov <makc@issp.ac.ru>
#
# $FreeBSD$
#

PORTNAME=   kpogre
PORTVERSION=    1.8.2
PORTREVISION=   3
CATEGORIES= databases kde
MASTER_SITES=   SF

MAINTAINER= makc@FreeBSD.org
COMMENT=    PostgreSQL administration tool for KDE

BUILD_DEPENDS=  ${LOCALBASE}/lib/libpqxx.a:${PORTSDIR}/databases/postgresql-libpqxx
RUN_DEPENDS=    ${LOCALBASE}/lib/libpqxx.a:${PORTSDIR}/databases/postgresql-libpqxx

USE_KDELIBS_VER=    3
USE_AUTOTOOLS=  libtool:22
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_PGSQL=  yes
MAKE_JOBS_UNSAFE=   yes

post-patch:
    ${REINPLACE_CMD} -e '/kde_appsdir/s|applnk||g' ${WRKSRC}/configure
    ${REINPLACE_CMD} -e '/kde_appsdir/s|Applications|applications/kde|g' \
        -e '/kde_appsdir/s|share/||g' ${WRKSRC}/${PORTNAME}/Makefile.in

.include <bsd.port.mk>