aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/xarchiver/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-11-24 00:24:11 +0800
committermiwi <miwi@FreeBSD.org>2008-11-24 00:24:11 +0800
commitaf77ace3dbb85d608f9e0c38a9d30351e519e0d7 (patch)
treede67622fb9f1e32f736ce3c33d5082fe4482164e /archivers/xarchiver/Makefile
parent2aec7615e286bba24a40dd775fcda6a301f0331e (diff)
downloadfreebsd-ports-gnome-af77ace3dbb85d608f9e0c38a9d30351e519e0d7.tar.gz
freebsd-ports-gnome-af77ace3dbb85d608f9e0c38a9d30351e519e0d7.tar.zst
freebsd-ports-gnome-af77ace3dbb85d608f9e0c38a9d30351e519e0d7.zip
- Update to 0.5.0
PR: 128650 Submitted by: Bernhard Froehlich <decke@bluelife.at> Approved by: maintainer timeout
Diffstat (limited to 'archivers/xarchiver/Makefile')
-rw-r--r--archivers/xarchiver/Makefile21
1 files changed, 18 insertions, 3 deletions
diff --git a/archivers/xarchiver/Makefile b/archivers/xarchiver/Makefile
index f1a6a8312de8..1555c1ea7f01 100644
--- a/archivers/xarchiver/Makefile
+++ b/archivers/xarchiver/Makefile
@@ -6,23 +6,38 @@
#
PORTNAME= xarchiver
-PORTVERSION= 0.4.6
-PORTREVISION= 1
+PORTVERSION= 0.5.0
CATEGORIES= archivers
MASTER_SITES= SF
MAINTAINER= andreevmaxim@gmail.com
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools
+RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
+
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= glib20 gtk20 intltool pkgconfig
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+PLIST_SUB+= NLS=""
+.else
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-patch:
.if defined(NOPORTDOCS)
${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
.endif
+.if defined(WITHOUT_NLS)
+ ${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>