aboutsummaryrefslogtreecommitdiff
path: root/graphics/agave/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/agave/Makefile')
-rw-r--r--graphics/agave/Makefile40
1 files changed, 21 insertions, 19 deletions
diff --git a/graphics/agave/Makefile b/graphics/agave/Makefile
index 0c3d6f121f67..a86a6390f8d7 100644
--- a/graphics/agave/Makefile
+++ b/graphics/agave/Makefile
@@ -2,37 +2,39 @@
# $FreeBSD$
PORTNAME= agave
-PORTVERSION= 0.4.2
-PORTREVISION= 11
+PORTVERSION= 0.4.7
CATEGORIES= graphics gnome
MASTER_SITES= http://download.gna.org/colorscheme/releases/
MAINTAINER= ports@FreeBSD.org
COMMENT= Color scheme builder for the GNOME desktop
-LIB_DEPENDS= libglademm-2.4.so:${PORTSDIR}/devel/libglademm24 \
- libboost_thread.so:${PORTSDIR}/devel/boost-libs
+LICENSE= GPLv2 # (or later)
-# --disable-gnome option is broken in 0.4.2
-#OPTIONS= GNOME "Adds GNOME support" on
+LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \
+ libglademm-2.4.so:${PORTSDIR}/devel/libglademm24
-USES= gettext gmake pkgconfig tar:bzip2
-USE_GNOME= gnomeprefix gnomehack gnomedocutils intlhack
-GCONF_SCHEMAS= agave.schemas
+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
-GNU_CONFIGURE= yes
+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
+GCONF_SCHEMAS= agave.schemas
+
+OPTIONS_DEFINE= GNOME
+
+GNOME_USE= gnome=libgnomeui
+GNOME_CONFIGURE_ENABLE= gnome
-#.if defined(WITHOUT_GNOME)
-#CONFIGURE_ARGS+= --disable-gnome --disable-gconf
-#.else
-USE_GNOME+= libgnomeui
-LIB_DEPENDS+= libgconfmm-2.6.so:${PORTSDIR}/devel/gconfmm26
-#.endif
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's| _GCS_| __GCS_|' ${WRKSRC}/src/gcs-conf.h
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>