aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-01-30 20:56:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-01-30 20:56:36 +0000
commit93faac9352add7b6950bb749eed337bbc4b881a5 (patch)
tree65b3aa715c7495bc33e1ade9b4bfecbf421470c0 /net-p2p
parent920cefb5d8526f990b1ef257acc8e794179abfea (diff)
downloadports-93faac9352add7b6950bb749eed337bbc4b881a5.tar.gz
ports-93faac9352add7b6950bb749eed337bbc4b881a5.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/gtk-gnutella/Makefile42
-rw-r--r--net-p2p/gtk-gnutella/distinfo3
2 files changed, 14 insertions, 31 deletions
diff --git a/net-p2p/gtk-gnutella/Makefile b/net-p2p/gtk-gnutella/Makefile
index e283adffd4d3..15d5f866d0a2 100644
--- a/net-p2p/gtk-gnutella/Makefile
+++ b/net-p2p/gtk-gnutella/Makefile
@@ -8,7 +8,7 @@
#
# A quick note on configurable make symbols:
#
-# RUN_INTERACTIVE: Launches Configure in it's default mode, which is *very*
+# WITH_INTERACTIVE: Launches Configure in it's default mode, which is *very*
# interactive. Disabled here by default to conform to FreeBSD guidelines,
# this mode is useful if you have problems with the default Configure.
#
@@ -18,7 +18,7 @@
# at a cost in performance. Useful if you intend to move the executable
# to multiple machines.
#
-# DEBUG: Compile with debugging symbols. Useful if you intend to make a bug
+# WITH_DEBUG: Compile with debugging symbols. Useful if you intend to make a bug
# report.
#
# Note that unicode support is currently unavailable for this platform. This
@@ -27,7 +27,7 @@
#
PORTNAME= gtk-gnutella
-PORTVERSION= 0.93.2
+PORTVERSION= 0.93.3
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://gtk-gnutella.sourceforge.net/download/ \
@@ -53,11 +53,14 @@ CONFIGURE_ARGS+= -Dbindir=${PREFIX}/bin -Dprivlib=${PREFIX}/share/gtk-gnutella
CONFIGURE_ARGS+= -Dsysman=${PREFIX}/man/man1 -Dlocale=${PREFIX}/share/locale
CONFIGURE_ARGS+= -Dccflags='${CFLAGS} -I${LOCALBASE}/include/'
-.if exists(/bin/sleep)
-SLEEP= /bin/sleep 3
-.endif
+OPTIONS= DEBUG "Build with debugging symbols" off\
+ GTK2 "Build with gtk2 frontend" off \
+ INTERACTIVE "Use Configure in interactive mode" off \
+ PORTABILITY "Use the PATH variable at run-time" off
+
+.include <bsd.port.pre.mk>
-.if !defined(RUN_INTERACTIVE)
+.if !defined(WITH_INTERACTIVE)
CONFIGURE_ARGS+=-d -e
.endif
@@ -65,7 +68,6 @@ CONFIGURE_ARGS+=-d -e
CONFIGURE_ARGS+= -Dgtkversion=2
USE_GNOME+= gtk20
.else
-BROKEN= "GTK1 version of 0.93.2 is broken. Fix coming 18/01/04"
CONFIGURE_ARGS+= -Dgtkversion=1
USE_GNOME+= gtk12
.endif
@@ -74,30 +76,10 @@ USE_GNOME+= gtk12
CONFIGURE_ARGS+= -Dd_portable=true
.endif
-.if defined(DEBUG)
+.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= -Doptimize=-g -Uofficial=
.endif
-pre-fetch:
-.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
- @${ECHO} ''
- @${ECHO} ' ===> NOTICE <==='
- @${ECHO} ''
- @${ECHO} 'You may use the following make options.'
- @${ECHO} 'See the Makefile for complete descriptions.'
- @${ECHO} ''
- @${ECHO} 'RUN_INTERACTIVE: Use Configure in interactive mode.'
- @${ECHO} ''
- @${ECHO} 'WITH_GTK2: Build with gtk2 frontend.'
- @${ECHO} ''
- @${ECHO} 'DEBUG: Build with debugging symbols.'
- @${ECHO}
- @${ECHO} 'WITH_PORTABILITY: Configure code to use the PATH variable at'
- @${ECHO} ' run-time, at a cost in performance.'
- @${ECHO}
- @${SLEEP}
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's| icuuc | |' ${WRKSRC}/${CONFIGURE_SCRIPT}
@@ -106,4 +88,4 @@ post-install:
@${CP} ${WRKSRC}/src/gtk-gnutella.man ${WRKSRC}/src/gtk-gnutella.1
@${INSTALL_MAN} ${WRKSRC}/src/gtk-gnutella.1 ${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net-p2p/gtk-gnutella/distinfo b/net-p2p/gtk-gnutella/distinfo
index cfa5a286763b..abfa61984941 100644
--- a/net-p2p/gtk-gnutella/distinfo
+++ b/net-p2p/gtk-gnutella/distinfo
@@ -1 +1,2 @@
-MD5 (gtk-gnutella-0.93.2.tar.bz2) = a89c3bc8e94a9bc63d0d7e1a9573e104
+MD5 (gtk-gnutella-0.93.3.tar.bz2) = 34e357c768e6bbecd267d04b95e9c380
+SIZE = 1279197