svn commit: r333831 - head/archivers/xarchiver
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Nov 15 10:03:35 UTC 2013
Author: ehaupt
Date: Fri Nov 15 10:03:34 2013
New Revision: 333831
URL: http://svnweb.freebsd.org/changeset/ports/333831
Log:
- Support staging
- Add LICENSE
- Fully support optionsng
Modified:
head/archivers/xarchiver/Makefile
Modified: head/archivers/xarchiver/Makefile
==============================================================================
--- head/archivers/xarchiver/Makefile Fri Nov 15 09:55:21 2013 (r333830)
+++ head/archivers/xarchiver/Makefile Fri Nov 15 10:03:34 2013 (r333831)
@@ -10,15 +10,18 @@ MASTER_SITES= SF
MAINTAINER= ports at 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)
More information about the svn-ports-head
mailing list