From owner-svn-ports-head@FreeBSD.ORG Tue May 7 09:15:49 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D09974EA; Tue, 7 May 2013 09:15:49 +0000 (UTC) (envelope-from ehaupt@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 C34C7A74; Tue, 7 May 2013 09:15:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r479FngH024729; Tue, 7 May 2013 09:15:49 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r479Fnbi024728; Tue, 7 May 2013 09:15:49 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201305070915.r479Fnbi024728@svn.freebsd.org> From: Emanuel Haupt Date: Tue, 7 May 2013 09:15:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r317593 - head/deskutils/jlj 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, 07 May 2013 09:15:49 -0000 Author: ehaupt Date: Tue May 7 09:15:49 2013 New Revision: 317593 URL: http://svnweb.freebsd.org/changeset/ports/317593 Log: - Convert to use shebangfix USES flag - Trim header - Use new options framework for DOCS Modified: head/deskutils/jlj/Makefile Modified: head/deskutils/jlj/Makefile ============================================================================== --- head/deskutils/jlj/Makefile Tue May 7 09:04:19 2013 (r317592) +++ head/deskutils/jlj/Makefile Tue May 7 09:15:49 2013 (r317593) @@ -1,9 +1,5 @@ -# New ports collection makefile for: jlj -# Date created: 29 April 2001 -# Whom: Pete Fritchman -# +# Created by: Pete Fritchman # $FreeBSD$ -# PORTNAME= jlj PORTVERSION= 2.12 @@ -17,6 +13,7 @@ COMMENT= Jerry's command-line LiveJourna WRKSRC= ${WRKDIR}/${PORTNAME} +USES= shebangfix USE_PERL5_RUN= yes NO_BUILD= yes SUB_FILES= pkg-message @@ -24,19 +21,20 @@ SUB_FILES= pkg-message PLIST_FILES= bin/jlj share/examples/jlj/dot.livejournal.rc PLIST_DIRS= share/examples/jlj -.if !defined(NOPORTDOCS) +SHEBANG_FILES= jlj.pl + +.include + +.if ${PORT_OPTIONS:MDOCS} PORTDOCS= README .endif -post-patch: - @${REINPLACE_CMD} -e 's!/usr/bin/perl!${PERL}!' ${WRKSRC}/jlj.pl - do-install: ${INSTALL_SCRIPT} ${WRKSRC}/jlj.pl ${PREFIX}/bin/jlj @${MKDIR} ${PREFIX}/share/examples/jlj ${INSTALL_DATA} ${WRKSRC}/.livejournal.rc \ ${PREFIX}/share/examples/jlj/dot.livejournal.rc -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.JLJ ${DOCSDIR}/README .endif