diff options
author | lioux <lioux@FreeBSD.org> | 2002-06-17 04:15:27 +0000 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2002-06-17 04:15:27 +0000 |
commit | b78193d94d6bd1fab4e6feb3d10dcad507b7605d (patch) | |
tree | e68541aa7779aba0e68100ffc7509c5207b8f675 /net/edonkey-gui-gtk | |
parent | 404913606586f97b7d086c95523b490ee42ef74b (diff) | |
download | FreeBSD-ports-b78193d94d6bd1fab4e6feb3d10dcad507b7605d.zip FreeBSD-ports-b78193d94d6bd1fab4e6feb3d10dcad507b7605d.tar.gz |
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"
Diffstat (limited to 'net/edonkey-gui-gtk')
-rw-r--r-- | net/edonkey-gui-gtk/Makefile | 60 | ||||
-rw-r--r-- | net/edonkey-gui-gtk/distinfo | 3 | ||||
-rw-r--r-- | net/edonkey-gui-gtk/pkg-message | 16 | ||||
-rw-r--r-- | net/edonkey-gui-gtk/pkg-plist | 4 |
4 files changed, 57 insertions, 26 deletions
diff --git a/net/edonkey-gui-gtk/Makefile b/net/edonkey-gui-gtk/Makefile index 558e9c7..0c35deb 100644 --- a/net/edonkey-gui-gtk/Makefile +++ b/net/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/edonkey-gui-gtk/distinfo b/net/edonkey-gui-gtk/distinfo index ed9db36..c6acd32 100644 --- a/net/edonkey-gui-gtk/distinfo +++ b/net/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/edonkey-gui-gtk/pkg-message b/net/edonkey-gui-gtk/pkg-message new file mode 100644 index 0000000..3d92e94 --- /dev/null +++ b/net/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/edonkey-gui-gtk/pkg-plist b/net/edonkey-gui-gtk/pkg-plist index 52c6fb5..3179917 100644 --- a/net/edonkey-gui-gtk/pkg-plist +++ b/net/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 |