aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gtk-imonc/Makefile
blob: 7a81322f724ba6be9d3d91f392711579f09a318f (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
40
41
42
43
# Created by: Steffen Vogelreuter
# $FreeBSD$

PORTNAME=   gtk-imonc
PORTVERSION=    0.6.4.1
PORTREVISION=   12
CATEGORIES= sysutils
MASTER_SITES=   http://stefan-strigler.de/download/

MAINTAINER= ports@FreeBSD.org
COMMENT=    GTK2-based imond-client to control an on(e) disc fli4l router

LICENSE=    GPLv2 # (or later)

LIB_DEPENDS=    pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
        pcre:${PORTSDIR}/devel/pcre \
        cairo:${PORTSDIR}/graphics/cairo \
        png15:${PORTSDIR}/graphics/png \
        freetype:${PORTSDIR}/print/freetype2 \
        expat:${PORTSDIR}/textproc/expat2 \
        fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
        xcb:${PORTSDIR}/x11/libxcb

GNU_CONFIGURE=  yes
USE_ICONV=  yes
USES=       pkgconfig gettext
USE_GNOME=  gdkpixbuf2 gtk20
USE_XORG=   pixman x11 xau xcomposite xcursor xdamage xdmcp xext \
        xfixes xi xinerama xrandr xrender
MAKE_JOBS_SAFE= yes

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e \
        's|/gnome/apps/Internet|/applications|' ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} -e \
        's|/usr/share/pixmaps/||' ${WRKSRC}/gtk-imonc.desktop
    @${REINPLACE_CMD} -e \
        's|<endian.h>|<sys/endian.h>|' ${WRKSRC}/src/md5.h

.include <bsd.port.mk>