blob: f771817048a36a3ed5b9fee96117b2bccf16511b (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# New ports collection makefile for: edonkey gtk gui link submitter
# Date created: Sat Feb 23 13:13:08 BRT 2002
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= edonkey
PORTVERSION= 0.0.1
PORTREVISION= 1
CATEGORIES= net kde
MASTER_SITES= http://users.aber.ac.uk/tpm01/ \
http://krazykiwi.homeip.net/admin/:kde_admin \
${MASTER_SITE_LOCAL:S/$/:kde_admin/}
MASTER_SITE_SUBDIR= lioux/:kde_admin
PKGNAMESUFFIX= -gui-gtk-kioslave
DISTFILES= ed2k_kde2_kioslave.tar.gz
MAINTAINER= lioux@FreeBSD.org
RUN_DEPENDS= ed2k_gui:${PORTSDIR}/net/edonkey-gui-gtk
.if exists(${X11BASE}/include/qt2/qapp.h)
USE_KDELIBS_VER= 2
.else
USE_KDELIBS_VER= 3
.endif
USE_XLIB= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/ed2kslave
.include <bsd.port.pre.mk>
.if ${USE_KDELIBS_VER} == 3
DISTFILES+= kde-admindir-3.0.1.tar.gz:kde_admin
BUILD_DEPENDS+= autoconf:${PORTSDIR}/devel/autoconf \
automake:${PORTSDIR}/devel/automake
PLIST_SUB+= KDEDIR_VERSION=kde3
post-extract:
@${RM} -Rf ${WRKSRC}/admin
@${CP} -Rp ${WRKDIR}/admin ${WRKSRC}
pre-configure:
@${RM} -f ${WRKSRC}/config.cache
@cd ${WRKSRC} && ${GMAKE} -f admin/Makefile.common cvs || ${TRUE}
.else
PLIST_SUB+= KDEDIR_VERSION=kde2
.endif # ${USE_KDELIBS_VER} == 3
.include <bsd.port.post.mk>
|