aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/xarchiver
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2013-11-15 18:03:34 +0800
committerehaupt <ehaupt@FreeBSD.org>2013-11-15 18:03:34 +0800
commit950d1142da38c78c7a228aad6b182d33707c1785 (patch)
tree5184a066c956c656737e89417f67dd4033a93050 /archivers/xarchiver
parent44b41b5061cc2bd944fb55423bd51b3c40b1f0b0 (diff)
downloadfreebsd-ports-gnome-950d1142da38c78c7a228aad6b182d33707c1785.tar.gz
freebsd-ports-gnome-950d1142da38c78c7a228aad6b182d33707c1785.tar.zst
freebsd-ports-gnome-950d1142da38c78c7a228aad6b182d33707c1785.zip
- Support staging
- Add LICENSE - Fully support optionsng
Diffstat (limited to 'archivers/xarchiver')
-rw-r--r--archivers/xarchiver/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/archivers/xarchiver/Makefile b/archivers/xarchiver/Makefile
index 14a808bad627..6cabeb3a667f 100644
--- a/archivers/xarchiver/Makefile
+++ b/archivers/xarchiver/Makefile
@@ -10,15 +10,18 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools
+LICENSE= GPLv2
+
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
-NO_STAGE= yes
USES= gmake pkgconfig desktop-file-utils
USE_BZIP2= yes
USE_GNOME= glib20 gtk20 intltool
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
+OPTIONS_DEFINE= DOCS NLS
+
.include <bsd.port.options.mk>
.if !empty(PORT_OPTIONS:MNLS)
@@ -33,7 +36,8 @@ PLIST_SUB+= NLS="@comment "
post-patch:
@${REINPLACE_CMD} -e 's|;multipart/x-zip||' \
${WRKSRC}/xarchiver.desktop.in
-.if defined(NOPORTDOCS)
+
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
.endif
.if empty(PORT_OPTIONS:MNLS)