aboutsummaryrefslogtreecommitdiff
path: root/x11-fm/gentoo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/gentoo/Makefile')
-rw-r--r--x11-fm/gentoo/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/x11-fm/gentoo/Makefile b/x11-fm/gentoo/Makefile
index f75db5b51eb2..50a630cd034c 100644
--- a/x11-fm/gentoo/Makefile
+++ b/x11-fm/gentoo/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gentoo
-PORTVERSION= 0.11.48
-PORTREVISION= 1
+PORTVERSION= 0.11.49
CATEGORIES= x11-fm
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,29 +14,29 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Gtk+ based, file manager inspired by DirectoryOpus
-USE_GNOME= gtk12
-USE_ICONV= yes
+USE_GNOME= gnometarget gtk12
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib"
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --disable-fam
MAN1= gentoo.1
MYPORTDOCS= BUGS CONFIG-CHANGES CREDITS NEWS README README.NLS \
README.gtkrc TODO
-.if !defined(WITHOUT_NLS)
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|icons|${DATADIR}/icons|g' ${WRKSRC}/gentoorc.in
- @${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|^CFLAGS = @GENTOO_CFLAGS@|CFLAGS = @CFLAGS@|g' \
post-install:
${INSTALL_MAN} ${WRKSRC}/docs/gentoo.1x ${MANPREFIX}/man/man1/gentoo.1
@@ -46,12 +45,11 @@ post-install:
.for file in ${MYPORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
- ${TAR} -C ${WRKSRC}/docs --exclude "gentoo.1x" -cf - . | \
+ ${TAR} -C ${WRKSRC}/docs --exclude "gentoo.1x*" -cf - . | \
${TAR} -C ${DOCSDIR} --unlink -xf -
@${FIND} ${DOCSDIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
@${FIND} ${DOCSDIR} | ${XARGS} ${CHMOD} ${SHAREMODE}
@${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} a+x
- @${FIND} ${DOCSDIR} -name *.bak -delete
.endif
.include <bsd.port.mk>