From owner-svn-ports-head@FreeBSD.ORG Sat May 17 15:35:36 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5A6E1FF; Sat, 17 May 2014 15:35:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D30D22D9B; Sat, 17 May 2014 15:35:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4HFZaFi062744; Sat, 17 May 2014 15:35:36 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4HFZaFx062742; Sat, 17 May 2014 15:35:36 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201405171535.s4HFZaFx062742@svn.freebsd.org> From: Pawel Pekala Date: Sat, 17 May 2014 15:35:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r354327 - head/japanese/srd-fpw-package 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.18 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: Sat, 17 May 2014 15:35:37 -0000 Author: pawel Date: Sat May 17 15:35:36 2014 New Revision: 354327 URL: http://svnweb.freebsd.org/changeset/ports/354327 QAT: https://qat.redports.org/buildarchive/r354327/ Log: - Add staging support - Convert to new options framework - Switch to PLIST_FILES - Remove leading article from COMMENT Deleted: head/japanese/srd-fpw-package/pkg-plist Modified: head/japanese/srd-fpw-package/Makefile Modified: head/japanese/srd-fpw-package/Makefile ============================================================================== --- head/japanese/srd-fpw-package/Makefile Sat May 17 15:34:01 2014 (r354326) +++ head/japanese/srd-fpw-package/Makefile Sat May 17 15:35:36 2014 (r354327) @@ -8,28 +8,29 @@ CATEGORIES= japanese elisp MASTER_SITES= http://openlab.ring.gr.jp/edict/fpw/dist/srd/ MAINTAINER= ports@FreeBSD.org -COMMENT= A supplement file for lookup to use "Random House" +COMMENT= Supplement file for lookup to use "Random House" RUN_DEPENDS= display:${PORTSDIR}/graphics/ImageMagick # Your PC does not have an audio card always. # realplay:${PORTSDIR}/multimedia/linux-realplayer NO_BUILD= yes -PLIST_SUB= PKGNAME=${PKGNAME} USES= perl5 -PKG_DIR= ${PREFIX}/share/dict/lookup-package +PKG_DIR= ${STAGEDIR}${PREFIX}/share/dict/lookup-package + +PLIST_FILES= share/dict/lookup-package/srd-fpw.el \ + share/dict/lookup-package/extract-srd.pl +PLIST_DIRS= share/dict/lookup-package +PORTDOCS= ChangeLog README.TXT + +OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-install: - ${MKDIR} ${PKG_DIR} + @${MKDIR} ${PKG_DIR} ${INSTALL_DATA} ${WRKSRC}/srd-fpw.el ${PKG_DIR} ${INSTALL_SCRIPT} ${WRKSRC}/extract-srd.pl ${PKG_DIR} -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for file in ChangeLog README.TXT - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include