2008-03-27 19:07:56 -04:00
|
|
|
# New ports collection makefile for: xarchiver
|
|
|
|
# Date created: 27 Mart 2008
|
|
|
|
# Whom: Andreev Maxim
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xarchiver
|
2008-11-30 19:20:22 -05:00
|
|
|
PORTVERSION= 0.5.2
|
2009-07-31 09:57:52 -04:00
|
|
|
PORTREVISION= 1
|
2008-03-27 19:07:56 -04:00
|
|
|
CATEGORIES= archivers
|
|
|
|
MASTER_SITES= SF
|
|
|
|
|
|
|
|
MAINTAINER= andreevmaxim@gmail.com
|
|
|
|
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools
|
|
|
|
|
2008-11-23 11:24:11 -05:00
|
|
|
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
|
|
|
|
|
2008-03-27 19:07:56 -04:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_GNOME= glib20 gtk20 intltool pkgconfig
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
|
2008-11-23 11:24:11 -05:00
|
|
|
.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
|
|
|
|
|
2008-03-27 19:07:56 -04:00
|
|
|
post-patch:
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2008-11-23 11:24:11 -05:00
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
2008-03-27 19:07:56 -04:00
|
|
|
|
2008-11-23 11:24:11 -05:00
|
|
|
.include <bsd.port.post.mk>
|