diff options
author | lioux <lioux@FreeBSD.org> | 2002-07-04 01:17:27 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-07-04 01:17:27 +0800 |
commit | 528ac22874229eaf736519e6ebd6478459c0bd35 (patch) | |
tree | 6bdd332a3cb2177f5109bd2e6d9e435e0b3791d5 /net | |
parent | 310e979a60b56a48d4bf4fae3d691c481ceccd3d (diff) | |
download | freebsd-ports-gnome-528ac22874229eaf736519e6ebd6478459c0bd35.tar.gz freebsd-ports-gnome-528ac22874229eaf736519e6ebd6478459c0bd35.tar.zst freebsd-ports-gnome-528ac22874229eaf736519e6ebd6478459c0bd35.zip |
o Enable build for KDE either 2 or 3
o Bump PORTREVISION
Diffstat (limited to 'net')
-rw-r--r-- | net/edonkey-gui-gtk-kioslave/Makefile | 37 | ||||
-rw-r--r-- | net/edonkey-gui-gtk-kioslave/distinfo | 1 | ||||
-rw-r--r-- | net/edonkey-gui-gtk-kioslave/pkg-plist | 4 |
3 files changed, 36 insertions, 6 deletions
diff --git a/net/edonkey-gui-gtk-kioslave/Makefile b/net/edonkey-gui-gtk-kioslave/Makefile index 59b07d95ee9b..f771817048a3 100644 --- a/net/edonkey-gui-gtk-kioslave/Makefile +++ b/net/edonkey-gui-gtk-kioslave/Makefile @@ -7,22 +7,51 @@ PORTNAME= edonkey PORTVERSION= 0.0.1 +PORTREVISION= 1 CATEGORIES= net kde -MASTER_SITES= http://users.aber.ac.uk/tpm01/ +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 -DISTNAME= ed2k_kde2_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} ${WRKSRC}/config.cache + @${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.mk> +.include <bsd.port.post.mk> diff --git a/net/edonkey-gui-gtk-kioslave/distinfo b/net/edonkey-gui-gtk-kioslave/distinfo index 02d77d744301..e87492a586b7 100644 --- a/net/edonkey-gui-gtk-kioslave/distinfo +++ b/net/edonkey-gui-gtk-kioslave/distinfo @@ -1 +1,2 @@ MD5 (ed2k_kde2_kioslave.tar.gz) = 3d516c4bcfe08d091e365f424c7fa573 +MD5 (kde-admindir-3.0.1.tar.gz) = 2b9efbf9905b326080d2dd5bbdcff8db diff --git a/net/edonkey-gui-gtk-kioslave/pkg-plist b/net/edonkey-gui-gtk-kioslave/pkg-plist index 1d47a854a15a..ec603dccbc2a 100644 --- a/net/edonkey-gui-gtk-kioslave/pkg-plist +++ b/net/edonkey-gui-gtk-kioslave/pkg-plist @@ -1,3 +1,3 @@ -lib/kde2/kio_ed2kslave.la -lib/kde2/kio_ed2kslave.so +lib/%%KDEDIR_VERSION%%/kio_ed2kslave.la +lib/%%KDEDIR_VERSION%%/kio_ed2kslave.so share/services/ed2kslave.protocol |