aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/bamf/Makefile
blob: c4b132f4be0fa4c8327e14066371dbed2f2cd5f4 (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
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=   bamf
PORTVERSION=    0.5.0
CATEGORIES= sysutils
MASTER_SITES=   https://launchpadlibrarian.net/148968286/ \
    https://launchpad.net/${PORTNAME}/${PORTVERSION:R}/${PORTVERSION}/+download/

MAINTAINER= olivierd@FreeBSD.org
COMMENT=    BAMF Application Matching Framework

LICENSE=    LGPL3
LICENSE_FILE=   ${WRKSRC}/COPYING.LGPL

BUILD_DEPENDS=  vapigen:${PORTSDIR}/lang/vala-vapigen \
    ${PYTHON_PKGNAMEPREFIX}libxml2>=2.8.0:${PORTSDIR}/textproc/py-libxml2 \
    ${PYTHON_PKGNAMEPREFIX}libxslt>=1.1.28:${PORTSDIR}/textproc/py-libxslt
LIB_DEPENDS=    libgtop-2.0.so:${PORTSDIR}/devel/libgtop \
    libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib

USES=   pkgconfig gmake pathfix libtool
GNU_CONFIGURE=  yes
USE_GNOME=  gtk30 glib20 introspection:build libwnck3
USE_PYTHON= 2
USE_XORG=   x11

CONFIGURE_ARGS+=--disable-webapps \
    --disable-headless-tests \
    --disable-gtktest \
    --disable-gtk-doc-html \
    --without-html-dir

post-patch:
    ${FIND} ${WRKSRC} -type f -name 'Makefile.in' \
        | ${XARGS} ${REINPLACE_CMD} -e 's| -Wl,-Bsymbolic-functions||'

.include <bsd.port.mk>