From owner-svn-ports-head@FreeBSD.ORG Tue Dec 18 06:30:33 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3458AF80; Tue, 18 Dec 2012 06:30:33 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 195618FC12; Tue, 18 Dec 2012 06:30:33 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBI6UWIu073409; Tue, 18 Dec 2012 06:30:32 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBI6UWrs073407; Tue, 18 Dec 2012 06:30:32 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201212180630.qBI6UWrs073407@svn.freebsd.org> From: Alexey Dokuchaev Date: Tue, 18 Dec 2012 06:30:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309144 - head/archivers/xarchive X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Dec 2012 06:30:33 -0000 Author: danfe Date: Tue Dec 18 06:30:32 2012 New Revision: 309144 URL: http://svnweb.freebsd.org/changeset/ports/309144 Log: - Switch to modern two-line Makefile header - Use DISTVERSION to reduce hand labor - Drop indefinite article from COMMENT line - Convert to the new OPTIONS framework - Minor cleanups in Makefile and port description Modified: head/archivers/xarchive/Makefile head/archivers/xarchive/pkg-descr Modified: head/archivers/xarchive/Makefile ============================================================================== --- head/archivers/xarchive/Makefile Tue Dec 18 04:47:15 2012 (r309143) +++ head/archivers/xarchive/Makefile Tue Dec 18 06:30:32 2012 (r309144) @@ -1,66 +1,63 @@ -# New ports collection makefile for: xarchive -# Date created: 09 November 2005 -# Whom: Mark Kane -# +# Created by: Mark Kane # $FreeBSD$ -# PORTNAME= xarchive -PORTVERSION= 0.2.8.6 +DISTVERSION= 0.2.8-6 PORTREVISION= 7 CATEGORIES= archivers -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.2.8-6 -DISTNAME= ${PORTNAME}-0.2.8-6 +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} MAINTAINER= mark@mkproductions.org -COMMENT= A GTK+ front end for archiving tools +COMMENT= GTK+ front end for various archiving tools RUN_DEPENDS= bash:${PORTSDIR}/shells/bash -MAN1= xarchive.1 - GNU_CONFIGURE= yes USE_GNOME= gtk20 -OPTIONS= 7ZIP "Support for 7zip archives" off \ - ARJ "Support for ARJ archives" off \ - ACE "Support for ACE archives" off \ - DEB "Support for DEB archives" off \ - RAR "Support for RAR archives" off \ - RPM "Support for RPM archives" off \ - ZIP "Support for ZIP archives" off +MAN1= ${PORTNAME}.1 + +OPTIONS_DEFINE= 7ZIP ARJ ACE DEB RAR RPM ZIP + +7ZIP_DESC= 7zip archive support +ARJ_DESC= ARJ archive support +ACE_DESC= ACE archive support +DEB_DESC= DEB archive support +RAR_DESC= RAR archive support +RPM_DESC= RPM archive support +ZIP_DESC= ZIP archive support -.include +.include -.if defined (WITH_7ZIP) +.if ${PORT_OPTIONS:M7ZIP} RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip .endif -.if defined (WITH_ARJ) +.if ${PORT_OPTIONS:MARJ} RUN_DEPENDS+= arj:${PORTSDIR}/archivers/arj .endif -.if defined (WITH_ACE) +.if ${PORT_OPTIONS:MACE} RUN_DEPENDS+= unace:${PORTSDIR}/archivers/unace .endif -.if defined (WITH_DEB) +.if ${PORT_OPTIONS:MDEB} RUN_DEPENDS+= dpkg-deb:${PORTSDIR}/archivers/dpkg .endif -.if defined (WITH_RAR) +.if ${PORT_OPTIONS:MRAR} RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar \ unrar:${PORTSDIR}/archivers/unrar .endif -.if defined (WITH_RPM) +.if ${PORT_OPTIONS:MRPM} RUN_DEPENDS+= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio \ rpm:${PORTSDIR}/archivers/rpm .endif -.if defined (WITH_ZIP) +.if ${PORT_OPTIONS:MZIP} RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ unzip:${PORTSDIR}/archivers/unzip .endif -.include +.include Modified: head/archivers/xarchive/pkg-descr ============================================================================== --- head/archivers/xarchive/pkg-descr Tue Dec 18 04:47:15 2012 (r309143) +++ head/archivers/xarchive/pkg-descr Tue Dec 18 06:30:32 2012 (r309144) @@ -5,4 +5,4 @@ It uses external bash shell wrappers to formats, so adding support for new archive types can be easily done by writing a wrapper. -WWW: http://xarchive.sourceforge.net +WWW: http://xarchive.sourceforge.net/