aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/edonkey-gui-gtk/Makefile
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2002-06-10 09:27:33 +0800
committerlioux <lioux@FreeBSD.org>2002-06-10 09:27:33 +0800
commit82ed01f774faded95575c0407918a0961fbe2187 (patch)
tree1b9645676e236b5322cb6226ee6f9291069c511a /net-p2p/edonkey-gui-gtk/Makefile
parent71205d6f86fc60ee5cf0482de16364428958b3f5 (diff)
downloadfreebsd-ports-gnome-82ed01f774faded95575c0407918a0961fbe2187.tar.gz
freebsd-ports-gnome-82ed01f774faded95575c0407918a0961fbe2187.tar.zst
freebsd-ports-gnome-82ed01f774faded95575c0407918a0961fbe2187.zip
Update to latest developer version 0.2.0 alpha. More stable than
current version despite the "unstable" name PR: 38845 Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'net-p2p/edonkey-gui-gtk/Makefile')
-rw-r--r--net-p2p/edonkey-gui-gtk/Makefile30
1 files changed, 10 insertions, 20 deletions
diff --git a/net-p2p/edonkey-gui-gtk/Makefile b/net-p2p/edonkey-gui-gtk/Makefile
index 2eec439fc145..558e9c75b2b0 100644
--- a/net-p2p/edonkey-gui-gtk/Makefile
+++ b/net-p2p/edonkey-gui-gtk/Makefile
@@ -6,11 +6,12 @@
#
PORTNAME= edonkey
-PORTVERSION= 0.1.0
+PORTVERSION= 0.2.0.a
CATEGORIES= net linux
-MASTER_SITES= http://www.edonkey2000.com/files/
-DISTNAME= ed2k_linux_gui_0.1alpha
+MASTER_SITES= http://users.aber.ac.uk/tpm01/
PKGNAMESUFFIX= -gui-gtk
+DISTNAME= linux_gui_alpha_unstable
+EXTRACT_SUFX=
MAINTAINER= lioux@FreeBSD.org
@@ -19,14 +20,12 @@ RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core \
ONLY_FOR_ARCHS= i386
USE_LINUX= yes
-WRKSRC= ${WRKDIR}/linux_gui_alpha
+NO_WRKSUBDIR= yes
NO_BUILD= yes
STRIP=
STRIP_CMD= ${LINUXBASE}/usr/bin/strip
-DATA_FILES= gui_lookuplist gui_options
-
.if exists(/usr/bin/brandelf)
BRANDELF?= /usr/bin/brandelf
.else
@@ -35,22 +34,13 @@ BRANDELF?= brandelf
BINARY_NAME= ed2k_gui
-post-patch:
- @${SED} -e "s|%%PREFIX%%|${PREFIX}|;s|%%DATADIR%%|${DATADIR}|; \
- s|%%DATAFILES%%|${DATA_FILES}|" \
- ${FILESDIR}/wrapper.sh > ${WRKDIR}/wrapper.sh
+do-extract:
+ @${RM} -rf ${WRKDIR}
+ @${MKDIR} ${WRKDIR}
+ @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/${BINARY_NAME}
do-install:
-.ifndef(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/todo.txt ${DOCSDIR}
-.endif
- ${MKDIR} ${DATADIR}
-.for file in ${DATA_FILES}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
-.endfor
- ${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin/${BINARY_NAME}-real
- ${INSTALL_SCRIPT} ${WRKDIR}/wrapper.sh ${PREFIX}/bin/${BINARY_NAME}
+ @${INSTALL_PROGRAM} ${WRKSRC}/${BINARY_NAME} ${PREFIX}/bin
.include <bsd.port.pre.mk>