aboutsummaryrefslogtreecommitdiff
path: root/archivers/xarchiver
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-15 10:03:34 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-11-15 10:03:34 +0000
commitb443af08abcee3dc093526e34a0addfefaa8f662 (patch)
tree5184a066c956c656737e89417f67dd4033a93050 /archivers/xarchiver
parentc6375f0fb3e2d1719ec98f0719f46df3106c6611 (diff)
downloadports-b443af08abcee3dc093526e34a0addfefaa8f662.tar.gz
ports-b443af08abcee3dc093526e34a0addfefaa8f662.zip
- Support staging
- Add LICENSE - Fully support optionsng
Notes
Notes: svn path=/head/; revision=333831
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)