2004-11-02 20:41:59 +00:00
|
|
|
# New ports collection makefile for: gwget
|
|
|
|
# Date created: 1 November 2004
|
|
|
|
# Whom: Radek Kozlowski <radek@raadradd.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gwget
|
2005-01-25 01:55:16 +00:00
|
|
|
PORTVERSION= 0.93
|
2004-11-02 20:41:59 +00:00
|
|
|
CATEGORIES= ftp www gnome
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2004-11-27 20:12:56 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2004-11-02 20:41:59 +00:00
|
|
|
|
|
|
|
MAINTAINER= radek@raadradd.com
|
|
|
|
COMMENT= A download manager for GNOME, based on wget
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui
|
|
|
|
USE_LIBTOOL_VER=15
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2004-11-27 20:12:56 +00:00
|
|
|
|
|
|
|
GCONF_SCHEMAS= gwget.schemas
|
2004-11-08 21:02:28 +00:00
|
|
|
EPHY_VER= 1.4
|
2004-11-02 20:41:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${X11BASE}/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:
|
2004-11-27 20:12:56 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|epiphany/extensions|epiphany-${EPHY_VER}/extensions|' \
|
|
|
|
${WRKSRC}/epiphany-extension/Makefile.in
|
2004-11-02 20:41:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|