Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 21:20:05 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346806 - head/archivers/xarchive
Message-ID:  <201403022120.s22LK5C6074829@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Mar  2 21:20:04 2014
New Revision: 346806
URL: http://svnweb.freebsd.org/changeset/ports/346806
QAT: https://qat.redports.org/buildarchive/r346806/

Log:
  Support stage
  Use options helpers

Modified:
  head/archivers/xarchive/Makefile
  head/archivers/xarchive/pkg-plist

Modified: head/archivers/xarchive/Makefile
==============================================================================
--- head/archivers/xarchive/Makefile	Sun Mar  2 21:13:13 2014	(r346805)
+++ head/archivers/xarchive/Makefile	Sun Mar  2 21:20:04 2014	(r346806)
@@ -12,13 +12,10 @@ COMMENT=	GTK+ front end for various arch
 
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
-NO_STAGE=	yes
 USES=		pkgconfig
 GNU_CONFIGURE=	yes
 USE_GNOME=	gtk20
 
-MAN1=		${PORTNAME}.1
-
 OPTIONS_DEFINE=	7ZIP ARJ ACE DEB RAR RPM ZIP
 
 7ZIP_DESC=	7zip archive support
@@ -29,37 +26,15 @@ RAR_DESC=	RAR archive support
 RPM_DESC=	RPM archive support
 ZIP_DESC=	ZIP archive support
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:M7ZIP}
-RUN_DEPENDS+=	7z:${PORTSDIR}/archivers/p7zip
-.endif
-
-.if ${PORT_OPTIONS:MARJ}
-RUN_DEPENDS+=	arj:${PORTSDIR}/archivers/arj
-.endif
-
-.if ${PORT_OPTIONS:MACE}
-RUN_DEPENDS+=	unace:${PORTSDIR}/archivers/unace
-.endif
-
-.if ${PORT_OPTIONS:MDEB}
-RUN_DEPENDS+=	dpkg-deb:${PORTSDIR}/archivers/dpkg
-.endif
-
-.if ${PORT_OPTIONS:MRAR}
-RUN_DEPENDS+=	rar:${PORTSDIR}/archivers/rar \
+7ZIP_RUN_DEPENDS=	7z:${PORTSDIR}/archivers/p7zip
+ARJ_RUN_DEPENDS+=	arj:${PORTSDIR}/archivers/arj
+ACE_RUN_DEPENDS+=	unace:${PORTSDIR}/archivers/unace
+DEB_RUN_DEPENDS+=	dpkg-deb:${PORTSDIR}/archivers/dpkg
+RAR_RUN_DEPENDS+=	rar:${PORTSDIR}/archivers/rar \
 		unrar:${PORTSDIR}/archivers/unrar
-.endif
-
-.if ${PORT_OPTIONS:MRPM}
-RUN_DEPENDS+=	rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \
+RPM_RUN_DEPENDS+=	rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \
 		rpm:${PORTSDIR}/archivers/rpm
-.endif
-
-.if ${PORT_OPTIONS:MZIP}
-RUN_DEPENDS+=	zip:${PORTSDIR}/archivers/zip \
+ZIP_RUN_DEPENDS+=	zip:${PORTSDIR}/archivers/zip \
 		unzip:${PORTSDIR}/archivers/unzip
-.endif
 
 .include <bsd.port.mk>

Modified: head/archivers/xarchive/pkg-plist
==============================================================================
--- head/archivers/xarchive/pkg-plist	Sun Mar  2 21:13:13 2014	(r346805)
+++ head/archivers/xarchive/pkg-plist	Sun Mar  2 21:20:04 2014	(r346806)
@@ -7,6 +7,7 @@ lib/xarchive/wrappers/rar-wrap.sh
 lib/xarchive/wrappers/rpm-wrap.sh
 lib/xarchive/wrappers/tar-wrap.sh
 lib/xarchive/wrappers/zip-wrap.sh
+man/man1/xarchive.1.gz
 share/applications/xarchive.desktop
 share/pixmaps/xarchive.xpm
 @dirrm lib/xarchive/wrappers



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403022120.s22LK5C6074829>