aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/agave/Makefile
blob: 40f892e342f9c3b4ee0211488dc8697788782e86 (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
44
# Created by: Piotr Smyrak <smyru@heron.pl>
# $FreeBSD$

PORTNAME=   agave
PORTVERSION=    0.4.7
PORTREVISION=   8
CATEGORIES= graphics gnome
MASTER_SITES=   http://download.gna.org/colorscheme/releases/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Color scheme builder for the GNOME desktop

LICENSE=    GPLv2+

LIB_DEPENDS=    libboost_thread.so:devel/boost-libs \
        libglademm-2.4.so:devel/libglademm24

USES=       compiler:c++11-lang gettext gmake pathfix pkgconfig tar:bzip2
USE_CXXSTD= c++11
USE_GNOME=  gconfmm26 gnomedocutils gnomeprefix gtkmm24 intltool
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-scrollkeeper \
        --disable-schemas-install \
        --disable-cppunit
INSTALLS_ICONS= yes
INSTALLS_OMF=   yes

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

GCONF_SCHEMAS=  agave.schemas

OPTIONS_DEFINE=     GNOME

GNOME_USE=      gnome=libgnomeui
GNOME_CONFIGURE_ENABLE= gnome

BROKEN_aarch64=     Fails to compile: variable has incomplete type union compat_IEEEl2bits

post-patch:
    @${REINPLACE_CMD} -e \
        's| _GCS_| __GCS_|' ${WRKSRC}/src/gcs-conf.h

.include <bsd.port.mk>