From owner-svn-ports-head@FreeBSD.ORG Tue Mar 26 11:14:36 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0E465F48; Tue, 26 Mar 2013 11:14:36 +0000 (UTC) (envelope-from bdrewery@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 DC598279; Tue, 26 Mar 2013 11:14:35 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r2QBEZbB027813; Tue, 26 Mar 2013 11:14:35 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r2QBEZak027812; Tue, 26 Mar 2013 11:14:35 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201303261114.r2QBEZak027812@svn.freebsd.org> From: Bryan Drewery Date: Tue, 26 Mar 2013 11:14:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r315282 - head/sysutils/fusefs-kmod 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, 26 Mar 2013 11:14:36 -0000 Author: bdrewery Date: Tue Mar 26 11:14:35 2013 New Revision: 315282 URL: http://svnweb.freebsd.org/changeset/ports/315282 Log: - Add mirror as the main site is dead - Trim header - Convert to new options framework With hat: portmgr Modified: head/sysutils/fusefs-kmod/Makefile Modified: head/sysutils/fusefs-kmod/Makefile ============================================================================== --- head/sysutils/fusefs-kmod/Makefile Tue Mar 26 11:08:14 2013 (r315281) +++ head/sysutils/fusefs-kmod/Makefile Tue Mar 26 11:14:35 2013 (r315282) @@ -1,15 +1,12 @@ -# New ports collection makefile for: fusefs-kmod -# Date created: 08 October 2005 -# Whom: Anish Mistry -# +# Created by: Anish Mistry # $FreeBSD$ -# PORTNAME= fusefs DISTVERSION= 0.3.9-pre1.20080208 PORTREVISION= 11 CATEGORIES= sysutils kld -MASTER_SITES= http://mercurial.creo.hu/repos/fuse4bsd-hg/index.cgi/archive/ +MASTER_SITES= http://mercurial.creo.hu/repos/fuse4bsd-hg/index.cgi/archive/ \ + LOCAL/bdrewery/${PORTNAME}/ PKGNAMESUFFIX= -kmod DISTNAME= ${HG_SHORTREV} DIST_SUBDIR= fuse4bsd @@ -19,10 +16,6 @@ COMMENT= Kernel module for fuse BUILD_DEPENDS= fusefs-libs>2.4.1:${PORTSDIR}/sysutils/fusefs-libs -.if !defined(NOPORTDOCS) -BUILD_DEPENDS+= deplate:${PORTSDIR}/textproc/ruby-deplate -.endif - USE_RC_SUBR= fusefs KMODDIR?= ${PREFIX}/modules PLIST_SUB= KMODDIR=${KMODDIR} @@ -32,10 +25,15 @@ MAKE_ENV= BINDIR="${PREFIX}/sbin" MANDIR WRKSRC= ${WRKDIR}/fuse4bsd-${HG_SHORTREV} DISABLE_SIZE= yes -OPTIONS= AUTOSETUP "Automatic global config file setup" off +OPTIONS_DEFINE= AUTOSETUP DOCS +AUTOSETUP_DESC= Automatic global config file setup .include +.if ${PORT_OPTIONS:MDOCS} +BUILD_DEPENDS+= deplate:${PORTSDIR}/textproc/ruby-deplate +.endif + SRC_BASE?= /usr/src SETUP= setup.sh HG_SHORTREV= 498acaef33b0 @@ -77,7 +75,7 @@ IGNORE= requires the userland sources t BROKEN= Does not compile on other than i386/amd64 .endif -.if defined(WITH_AUTOSETUP) +.if ${PORT_OPTIONS:MAUTOSETUP} SUB_FILES+= ${SETUP} .else SUB_FILES+= pkg-message @@ -93,7 +91,7 @@ post-configure: @${CP} ${LOCALBASE}/include/fuse/fuse_kernel.h ${WRKSRC}/fuse_module post-build: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @cd ${WRKSRC}/doc && make plaintext html_chunked .endif @@ -102,14 +100,14 @@ pre-su-install: post-install: @${LN} -fs ${PREFIX}/sbin/mount_fusefs /usr/sbin -.if defined(WITH_AUTOSETUP) && !defined(PACKAGE_BUILDING) +.if ${PORT_OPTIONS:MAUTOSETUP} && !defined(PACKAGE_BUILDING) @${ECHO} "Modifying global startup config files and loading module..." @${SH} ${WRKDIR}/${SETUP} .else @${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD} .endif -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR}/kmod/html .for i in ${TXT_DOCS} @${INSTALL_DATA} ${WRKSRC}/doc/plaintext_out/$i ${DOCSDIR}/kmod