aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-01 13:43:24 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-01 13:43:24 +0000
commit3dd118dca5497bc8449d7033addee797cfc81977 (patch)
tree0ab9ed374491fe20ec0884ec0d151260d019d24b /archivers
parent125129cae412b480eb7ccb579229af22ff6ad24c (diff)
downloadports-3dd118dca5497bc8449d7033addee797cfc81977.tar.gz
ports-3dd118dca5497bc8449d7033addee797cfc81977.zip
- Fix LICENSE
- Add LICENSE_FILE - Remove bogus USES=tar:bzip2 - Switch to USES=localbase - Fix build with disabled NLS - Whitespace fix Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=421216
Diffstat (limited to 'archivers')
-rw-r--r--archivers/xarchiver/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/archivers/xarchiver/Makefile b/archivers/xarchiver/Makefile
index b99bf7b55164..f9b151dfe433 100644
--- a/archivers/xarchiver/Makefile
+++ b/archivers/xarchiver/Makefile
@@ -9,7 +9,8 @@ CATEGORIES= archivers
MAINTAINER= danilo@FreeBSD.org
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
@@ -21,7 +22,7 @@ RUN_DEPENDS= xdg-open:devel/xdg-utils \
USE_GITHUB= yes
GH_ACCOUNT= ib
-USES= desktop-file-utils gmake pkgconfig tar:bzip2
+USES= desktop-file-utils gmake pkgconfig
USE_GNOME= cairo glib20 intltool
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
@@ -48,12 +49,12 @@ GTK2_CONFIGURE_ENABLE= gtk2
GTK2_USE= GNOME=gtk20
GTK3_USE= GNOME=gtk30
-NLS_USES= gettext
-NLS_CPPFLAGS+= -I${LOCALBASE}/include
-NLS_LDFLAGS+= -L${LOCALBASE}/lib
+NLS_USES= gettext localbase
+NLS_USES_OFF= gettext-tools
post-patch-DOCS-off:
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
+
post-patch-NLS-off:
@${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in