aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/gwget/Makefile
blob: b02f6453f5bae32dc760b34dc04107cb57a176f0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Created by: Radek Kozlowski <radek@raadradd.com>
# $FreeBSD$

PORTNAME=   gwget
PORTVERSION=    1.0.4
PORTREVISION=   10
CATEGORIES= ftp gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= ports@FreeBSD.org
COMMENT=    GNOME wget front-end

LIB_DEPENDS=    libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS=    wget:${PORTSDIR}/ftp/wget

OPTIONS_DEFINE= NOTIFY
OPTIONS_DEFAULT=    NOTIFY

USES=       gettext gmake libtool pathfix tar:bzip2
USE_GNOME=  gnomeprefix gtk20 gconf2 libgnomeui
INSTALLS_ICONS= yes
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
PLIST_SUB+= EPHY_VERSION="2.30"
CONFIGURE_ARGS= --disable-epiphany-extension

GCONF_SCHEMAS=  ${PORTNAME}.schemas

NOTIFY_CONFIGURE_ENABLE=    libnotify
NOTIFY_LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify
NOTIFY_RUN_DEPENDS= ${LOCALBASE}/libexec/notification-daemon:${PORTSDIR}/deskutils/notification-daemon

post-patch:
    @${REINPLACE_CMD} 's|glib/gerror|glib|' \
        ${WRKSRC}/src/gwget-application.h

.include <bsd.port.mk>