summaryrefslogtreecommitdiff
path: root/net-p2p/edonkey-gui-gtk/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-01 16:34:25 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-01-01 16:34:25 +0000
commitdb8bc7e282d576814cd55dbbbbfc4b298d0ad3cc (patch)
treeb1e7e220695f8a4f358db9c870a4888e3555bc0a /net-p2p/edonkey-gui-gtk/Makefile
parentUpdate Ruby/GNOME2 to 0.2. (diff)
o Update to 0.4.0.1 now available in source code form which enables
us to support all our platforms o Add a warning to PKGMESSAGE about missing new configuration files with older ones
Diffstat (limited to 'net-p2p/edonkey-gui-gtk/Makefile')
-rw-r--r--net-p2p/edonkey-gui-gtk/Makefile62
1 files changed, 18 insertions, 44 deletions
diff --git a/net-p2p/edonkey-gui-gtk/Makefile b/net-p2p/edonkey-gui-gtk/Makefile
index 8fad5a1014fe..873d591a53f2 100644
--- a/net-p2p/edonkey-gui-gtk/Makefile
+++ b/net-p2p/edonkey-gui-gtk/Makefile
@@ -6,62 +6,36 @@
#
PORTNAME= edonkey
-PORTVERSION= 0.2.0.a.2002080400
+PORTVERSION= 0.4.0.1
CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= lioux
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ed2k-gtk-gui
PKGNAMESUFFIX= -gui-gtk
-DISTFILES= ed2k_gui-${PORTVERSION}.freebsd-stable-i386.gz
-EXTRACT_ONLY=
+DISTNAME= ed2k-gtk-gui_0.4.0-1
MAINTAINER= lioux@FreeBSD.org
LIB_DEPENDS= gnet.1:${PORTSDIR}/net/gnet
RUN_DEPENDS= donkey:${PORTSDIR}/net/edonkey-core
-ONLY_FOR_ARCHS= i386
-XFREE86_VERSION= 4
USE_GNOMENG= yes
USE_GNOME= gtk12
USE_X_PREFIX= yes
-NO_BUILD= yes
-NO_WRKSUBDIR= yes
-
-DOC_VERSION= 0.2.0.a.2002061600
-
-BINARY_NAME= ed2k_gui
-DOC_FILES= faq.html faq_german.html
-
-.ifndef(NOPORTDOCS)
-DISTFILES+= ed2k_gui-${DOC_VERSION}.doc.tar.gz
-.endif
-
-post-extract:
-.ifndef(NOPORTDOCS)
- @cd ${WRKSRC} && ${TAR} xzf \
- ${DISTDIR}/ed2k_gui-${DOC_VERSION}.doc.tar.gz
+USE_REINPLACE= yes
+GNU_CONFIGURE= yes
+
+WRKSRC= ${WRKDIR}/ed2k_gui-0.4.0
+
+post-patch:
+# CFLAGS safeness
+ @${REINPLACE_CMD} -E -e 's|-O2||' \
+ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+.ifdef(NOPORTDOCS)
+ @${REINPLACE_CMD} -E -e 's|^(SUBDIRS.*)docs|\1|' \
+ ${WRKSRC}/ed2k_gui/Makefile.in
.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>
-
-.if ${OSVERSION} < 450006 || ${OSVERSION} >= 500000
-BROKEN= "only available for 4.X-STABLE (post 4.6 Release)"
-.endif
+ @${LN} -s ed2k_gui ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>