From owner-svn-ports-head@FreeBSD.ORG Fri Jun 21 18:08:37 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 7F29684B; Fri, 21 Jun 2013 18:08:37 +0000 (UTC) (envelope-from kwm@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 5871C1D68; Fri, 21 Jun 2013 18:08:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5LI8bC7080392; Fri, 21 Jun 2013 18:08:37 GMT (envelope-from kwm@svn.freebsd.org) Received: (from kwm@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5LI8bts080391; Fri, 21 Jun 2013 18:08:37 GMT (envelope-from kwm@svn.freebsd.org) Message-Id: <201306211808.r5LI8bts080391@svn.freebsd.org> From: Koop Mast Date: Fri, 21 Jun 2013 18:08:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321491 - head/textproc/p5-SGMLSpm 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: Fri, 21 Jun 2013 18:08:37 -0000 Author: kwm Date: Fri Jun 21 18:08:36 2013 New Revision: 321491 URL: http://svnweb.freebsd.org/changeset/ports/321491 Log: Fix perl path with shebangfix. Assign maintainer to perl@ [1] Convert to PORT_OPTIONS DOCS and EXAMPLE and remove duplicate DOCS block. Trim makefile header Approved by: ak@ (perl@) [1] Modified: head/textproc/p5-SGMLSpm/Makefile (contents, props changed) Modified: head/textproc/p5-SGMLSpm/Makefile ============================================================================== --- head/textproc/p5-SGMLSpm/Makefile Fri Jun 21 18:01:58 2013 (r321490) +++ head/textproc/p5-SGMLSpm/Makefile Fri Jun 21 18:08:36 2013 (r321491) @@ -1,9 +1,5 @@ -# New ports collection makefile for: SGMLSpm -# Date created: 4 May 2004 -# Whom: Brian Candler -# +# Created by: Brian Candler # $FreeBSD$ -# PORTNAME= SGMLSpm PORTVERSION= 1.03 @@ -14,35 +10,38 @@ MASTER_SITE_SUBDIR= SGMLS PKGNAMEPREFIX= p5- DISTNAME= ${PORTNAME}-${PORTVERSION}ii -MAINTAINER= ports@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= Perl module for postprocessing the output from sgmls and nsgmls USE_PERL5_RUN= yes +USES= shebangfix NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME} +SHEBANG_FILES= sgmlspl.pl \ + DOC/HTML/SGMLSpm/sample.pl \ + DOC/HTML/SGMLSpm/example.html + INSTALL_TARGET= install BINDIR=${PREFIX}/bin \ PERL5DIR=${SITE_PERL} SPECDIR=${EXAMPLESDIR} -.ifndef(NOPORTDOCS) +.include + +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= * INSTALL_TARGET+=docs install_html HTMLDIR=${DOCSDIR} .endif -.ifdef(NOPORTEXAMPLES) + +.if ${PORT_OPTIONS:MEXAMPLES} EXTRA_PATCHES= ${PATCHDIR}/noportexamples-patch-Makefile .endif pre-su-install: -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .endif -.ifndef(NOPORTEXAMPLES) +.if ${PORT_OPTIONS:MEXAMPLES} ${MKDIR} ${EXAMPLESDIR} .endif -.ifndef(NOPORTDOCS) -PORTDOCS= * -INSTALL_TARGET+=docs install_html HTMLDIR=${DOCSDIR} -.endif - .include