diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-06-17 04:15:27 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2002-06-17 04:15:27 +0000 |
commit | 8090b06fe6cdec127a04e87bfff04c21845b7cb5 (patch) | |
tree | 0efb865a684547ecba277455e4ee8b3b5dc46420 /net-p2p | |
parent | o After being repo copied from edonkey-gui-gtk: (diff) |
o After being repo copied to linux-edonkey-gui-gtk:
- Remove all Linux references since this is now a FreeBSD native
binary port
- House the binary under MASTER_SITE_LOCAL
- Update to 0.2 alpha Build 2002061600
- Add PKGMESSAGE on the binary issue. Small excerpt of most relevant
part: "Currently, this native version is restricted to the following
FreeBSD platforms: - i386 FreeBSD 4.x-STABLE (post 4.6R Release);
OSVERSION=450006"
Notes
Notes:
svn path=/head/; revision=61403
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/edonkey-gui-gtk/Makefile | 60 | ||||
-rw-r--r-- | net-p2p/edonkey-gui-gtk/distinfo | 3 | ||||
-rw-r--r-- | net-p2p/edonkey-gui-gtk/pkg-message | 16 | ||||
-rw-r--r-- | net-p2p/edonkey-gui-gtk/pkg-plist | 4 |
4 files changed, 57 insertions, 26 deletions
diff --git a/net-p2p/edonkey-gui-gtk/Makefile b/net-p2p/edonkey-gui-gtk/Makefile index 558e9c75b2b0..0c35deb9bd96 100644 --- a/net-p2p/edonkey-gui-gtk/Makefile +++ b/net-p2p/edonkey-gui-gtk/Makefile @@ -6,48 +6,58 @@ # PORTNAME= edonkey -PORTVERSION= 0.2.0.a -CATEGORIES= net linux -MASTER_SITES= http://users.aber.ac.uk/tpm01/ +PORTVERSION= 0.2.0.a.2002061600 +CATEGORIES= net +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= lioux PKGNAMESUFFIX= -gui-gtk -DISTNAME= linux_gui_alpha_unstable -EXTRACT_SUFX= +DISTFILES= ed2k_gui-${PORTVERSION}.freebsd-stable-i386.gz +EXTRACT_ONLY= MAINTAINER= lioux@FreeBSD.org -RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core \ - ${LINUXBASE}/usr/lib/libgtk-1.2.so.0:${PORTSDIR}/x11-toolkits/linux-gtk +RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core ONLY_FOR_ARCHS= i386 -USE_LINUX= yes -NO_WRKSUBDIR= yes +XFREE86_VERSION= 4 +USE_GTK= yes +USE_X_PREFIX= yes NO_BUILD= yes -STRIP= +NO_WRKSUBDIR= yes -STRIP_CMD= ${LINUXBASE}/usr/bin/strip +BINARY_NAME= ed2k_gui +DOC_FILES= faq.html faq_german.html -.if exists(/usr/bin/brandelf) -BRANDELF?= /usr/bin/brandelf -.else -BRANDELF?= brandelf +.ifndef(NOPORTDOCS) +DISTFILES+= ed2k_gui-${PORTVERSION}.doc.tar.gz .endif -BINARY_NAME= ed2k_gui - -do-extract: - @${RM} -rf ${WRKDIR} - @${MKDIR} ${WRKDIR} - @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${BINARY_NAME} +post-extract: +.ifndef(NOPORTDOCS) + @cd ${WRKSRC} && ${TAR} xzf \ + ${DISTDIR}/ed2k_gui-${PORTVERSION}.doc.tar.gz +.endif + @${GZCAT} ${DISTDIR}/ed2k_gui-${PORTVERSION}.freebsd-stable-i386.gz \ + > ${WRKSRC}/${BINARY_NAME} do-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} \ + ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} +.endfor +.endif @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin + @${LN} -s ${BINARY_NAME} ${PREFIX}/bin/edonkey-gui-gtk + +post-install: + ${CAT} ${PKGMESSAGE} .include <bsd.port.pre.mk> -pre-install: -.if exists(${STRIP_CMD}) - @${STRIP_CMD} ${WRKSRC}/${BINARY_NAME} +.if ${OSVERSION} < 450006 || ${OSVERSION} >= 500000 +BROKEN= only available for 4.X-STABLE (post 4.6 Release) .endif - @${BRANDELF} -t Linux ${WRKSRC}/${BINARY_NAME} .include <bsd.port.post.mk> diff --git a/net-p2p/edonkey-gui-gtk/distinfo b/net-p2p/edonkey-gui-gtk/distinfo index ed9db36e0271..c6acd32689ff 100644 --- a/net-p2p/edonkey-gui-gtk/distinfo +++ b/net-p2p/edonkey-gui-gtk/distinfo @@ -1 +1,2 @@ -MD5 (linux_gui_alpha_unstable) = 823ef0a3f9d02f138f4eab6f2da08639 +MD5 (ed2k_gui-0.2.0.a.2002061600.freebsd-stable-i386.gz) = f1e407e4098444d31803a23615016935 +MD5 (ed2k_gui-0.2.0.a.2002061600.doc.tar.gz) = 25a37a2bc514613a53443e2ab85314d6 diff --git a/net-p2p/edonkey-gui-gtk/pkg-message b/net-p2p/edonkey-gui-gtk/pkg-message new file mode 100644 index 000000000000..3d92e94ed260 --- /dev/null +++ b/net-p2p/edonkey-gui-gtk/pkg-message @@ -0,0 +1,16 @@ + ATTENTIONATTENTION: + +This port is an attempt to distribute a FreeBSD native version of +the eDonkey GTK GUI written by Tim-Philipp Müller. + +It might not work at all. As always, there are no implied guarantees. +You try this at your own risk. Be warned. :-) + +If it does not work for you, you can always try the Linux version +of this port available at /usr/ports/net/linux-edonkey-gui-gtk. It +might work. + +Currently, this native version is restricted to the following FreeBSD +platforms: + +- i386 FreeBSD 4.x-STABLE (post 4.6R Release); OSVERSION=450006 diff --git a/net-p2p/edonkey-gui-gtk/pkg-plist b/net-p2p/edonkey-gui-gtk/pkg-plist index 52c6fb524cd2..31799176b713 100644 --- a/net-p2p/edonkey-gui-gtk/pkg-plist +++ b/net-p2p/edonkey-gui-gtk/pkg-plist @@ -1 +1,5 @@ bin/ed2k_gui +bin/edonkey-gui-gtk +%%PORTDOCS%%share/doc/edonkey-gui-gtk/faq.html +%%PORTDOCS%%share/doc/edonkey-gui-gtk/faq_german.html +%%PORTDOCS%%@dirrm share/doc/edonkey-gui-gtk |