aboutsummaryrefslogtreecommitdiffstats
path: root/net/dcgui/Makefile
blob: 51c649efc11f118e0a9722ad8265179abba96ff6 (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
# New ports collection makefile for:    dclib
# Date created:                         Wed 10 Jul 2002
# Whom: Sverrir Valgeirsson <e96sv@yahoo.se> and
#   Amar Takhar <verm@drunkmonk.net> et al
#
# $FreeBSD$
#

PORTNAME=   dcgui
PORTVERSION=    0.1.9
CATEGORIES= net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE} \
        http://ftp.kde.com/Networking_Internet/File_Sharing/Direct_Connect_4_Linux/ \
        http://download.berlios.de/dcgui/ \
        ftp://ftp.kde.com/Networking_Internet/File_Sharing/Direct_Connect_4_Linux/ \
        http://dc.ketelhot.de/files/dcgui/unstable/source/
MASTER_SITE_SUBDIR= dc-gui
DISTNAME=   dcgui-0.1beta9

MAINTAINER= e96sv@yahoo.se

LIB_DEPENDS=    dc.0:${PORTSDIR}/devel/dclib \
        xml2.5:${PORTSDIR}/textproc/libxml2

USE_X_PREFIX=   yes
USE_QT_VER=3
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-libdc=${LOCALBASE} \
        --with-xml-prefix=${LOCALBASE}

post-patch:
    @${REINPLACE_CMD} -e 's@xmlversion.h@libxml/xmlversion.h@' \
        ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>