aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/emelfm2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/emelfm2/Makefile')
-rw-r--r--x11-fm/emelfm2/Makefile21
1 files changed, 14 insertions, 7 deletions
diff --git a/x11-fm/emelfm2/Makefile b/x11-fm/emelfm2/Makefile
index 6126b701ee13..89f1a38eba80 100644
--- a/x11-fm/emelfm2/Makefile
+++ b/x11-fm/emelfm2/Makefile
@@ -1,30 +1,33 @@
# $FreeBSD$
PORTNAME= emelfm2
-PORTVERSION= 0.9.0
+PORTVERSION= 0.9.1
CATEGORIES= x11-fm
MASTER_SITES= http://emelfm2.net/rel/
MAINTAINER= mva@FreeBSD.org
-COMMENT= The gtk2 port of emelfm, a fast graphical filemanager
+COMMENT= The gtk2+ port of emelfm, a fast graphical filemanager
LICENSE= GPLv3
USE_BZIP2= yes
-USE_GNOME= gtk20
USES= gmake pkgconfig
USE_LDCONFIG= yes
INSTALL_TARGET= install
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
-MAKE_ENV= DOC_DIR="${DOCSDIR}/"
+MAKE_ENV= DOC_DIR="${DOCSDIR}/" \
+ WITH_OUTPUTSTYLES=1 \
+ WITH_CUSTOMMOUSE=1
DOCFILES= ACTIONS CONFIGURATION CREDITS GPL HACKING INSTALL LGPL NEWS \
README SPEC TODO USAGE WARNING
-OPTIONS_DEFINE= DEBUG DOCS GAMIN THUMB TRACKER HAL NLS
-OPTIONS_DEFAULT=
+OPTIONS_DEFINE= DEBUG DOCS GAMIN THUMB TRACKER HAL NLS
+OPTIONS_DEFAULT= GTK2
+OPTIONS_RADIO= GTK
+OPTIONS_RADIO_GTK= GTK2 GTK3
OPTIONS_SUB= yes
DEBUG_DESC= Debugging messages
@@ -36,6 +39,10 @@ HAL_DESC= Use HAL for automated device detection
DEBUG_MAKE_ENV= DEBUG=1
GAMIN_USES= fam:gamin
GAMIN_MAKE_ENV= USE_GAMIN=1
+GTK2_MAKE_ENV= WITH_GTK2=1 WITH_GTK3=0
+GTK2_USE= GNOME=gtk20
+GTK3_MAKE_ENV= WITH_GTK2=0 WITH_GTK3=1
+GTK3_USE= GNOME=gtk30
THUMB_LIB_DEPENDS= libgimp-2.0.so:${PORTSDIR}/graphics/gimp
THUMB_MAKE_ENV= WITH_THUMB=1
TRACKER_MAKE_ENV= WITH_TRACKER=1
@@ -47,7 +54,7 @@ HAL_LIB_DEPENDS= libhal.so:${PORTSDIR}/sysutils/hal
post-patch:
# fix cross-arch compiling, which sets ${TARGET}
.for mfile in Makefile Makefile.config
- @${REINPLACE_CMD} -e 's|TARGET|BINTARGET|' ${WRKSRC}/${mfile}
+ @${REINPLACE_CMD} -e 's|TARGET|BINTARGET|g' ${WRKSRC}/${mfile}
.endfor
do-install: