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

PORTNAME=   agave
PORTVERSION=    0.4.7
PORTREVISION=   1
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 # (or later)

LIB_DEPENDS=    libboost_thread.so:${PORTSDIR}/devel/boost-libs \
        libglademm-2.4.so:${PORTSDIR}/devel/libglademm24

USES=       gettext gmake pathfix pkgconfig tar:bzip2
USE_GNOME=  gconfmm26 gnomedocutils gnomeprefix gtkmm24
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

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

.include <bsd.port.mk>