summaryrefslogtreecommitdiffstats
path: root/ftp/gwget/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-26 10:36:44 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-26 10:36:44 +0800
commit00b3b484e247f091b1edd2fca2120497ef91c7ae (patch)
treea09c93c8fa21fcc9dec1d4ac3bfb8eb5bac7f43e /ftp/gwget/Makefile
parent77075bdaf7a5640fc3c39a2d4803961d1e3e4b7a (diff)
downloadmarcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.tar.gz
marcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.tar.zst
marcuscom-ports-00b3b484e247f091b1edd2fca2120497ef91c7ae.zip
-USE_X_PREFIX -> USE_XLIB.
-X11BASE -> LOCALBASE, epiphany lives in LOCALBASE. -Bump the PORTREVISION. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6820 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'ftp/gwget/Makefile')
-rw-r--r--ftp/gwget/Makefile55
1 files changed, 55 insertions, 0 deletions
diff --git a/ftp/gwget/Makefile b/ftp/gwget/Makefile
new file mode 100644
index 000000000..b6d71a318
--- /dev/null
+++ b/ftp/gwget/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: gwget
+# Date created: 1 November 2004
+# Whom: Radek Kozlowski <radek@raadradd.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gwget
+PORTVERSION= 0.98.1
+PORTREVISION= 1
+CATEGORIES= ftp www gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= radek@raadradd.com
+COMMENT= A download manager for GNOME, based on wget
+
+RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui libbonobo gconf2
+GNU_CONFIGURE= yes
+USE_XLIB= yes
+USE_GETTEXT= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBBONOBO_IDL="-I${LOCALBASE}/idl/bonobo-2.0" \
+ LDFLAGS="-Wl,-export-dynamic -L${LOCALBASE}/lib"
+
+GCONF_SCHEMAS= gwget.schemas
+EPHY_VER?= 2.14
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/bin/epiphany) && !defined(WITHOUT_EPIPHANY)
+WITH_EPIPHANY= yes
+.endif
+
+.if defined(WITH_EPIPHANY)
+BUILD_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany
+CONFIGURE_ARGS+= --enable-epiphany-extension \
+ --with-epiphany-version=${EPHY_VER}
+PLIST_SUB+= EPIPHANY="" \
+ VERSION="${EPHY_VER}"
+.else
+CONFIGURE_ARGS+= --disable-epiphany-extension
+PLIST_SUB+= EPIPHANY="@comment "
+.endif # defined(WITH_EPIPHANY)
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|epiphany/extensions|epiphany-${EPHY_VER}/extensions|' \
+ ${WRKSRC}/epiphany-extension/Makefile.in
+
+.include <bsd.port.post.mk>