From owner-svn-ports-all@FreeBSD.ORG Thu May 8 19:47:46 2014 Return-Path: Delivered-To: svn-ports-all@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 1729A186; Thu, 8 May 2014 19:47:46 +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 DEB07BC7; Thu, 8 May 2014 19:47:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s48JljMG061953; Thu, 8 May 2014 19:47:45 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s48JljFr061952; Thu, 8 May 2014 19:47:45 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201405081947.s48JljFr061952@svn.freebsd.org> From: Pawel Pekala Date: Thu, 8 May 2014 19:47:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353350 - head/japanese/dbskkd-cdb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2014 19:47:46 -0000 Author: pawel Date: Thu May 8 19:47:45 2014 New Revision: 353350 URL: http://svnweb.freebsd.org/changeset/ports/353350 QAT: https://qat.redports.org/buildarchive/r353350/ Log: - Add staging support - Remove leading article from COMMENT - Define DOCS option - Break lines around 80 characters Modified: head/japanese/dbskkd-cdb/Makefile Modified: head/japanese/dbskkd-cdb/Makefile ============================================================================== --- head/japanese/dbskkd-cdb/Makefile Thu May 8 19:39:50 2014 (r353349) +++ head/japanese/dbskkd-cdb/Makefile Thu May 8 19:47:45 2014 (r353350) @@ -9,7 +9,7 @@ MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} #DISTVERSIONSUFFIX= MAINTAINER= ports@FreeBSD.org -COMMENT=Yet another dictionary server for SKK +COMMENT= Yet another dictionary server for SKK BUILD_DEPENDS= ${LOCALBASE}/lib/libcdb.a:${PORTSDIR}/databases/tinycdb RUN_DEPENDS= ${SKKJISYOCDB}:${PORTSDIR}/japanese/skk-jisyo-cdb @@ -23,32 +23,25 @@ SKKJISYOCDB?= ${LOCALBASE}/${SKKDIR}/SKK MAKE_ENV+= LOCALBASE="${LOCALBASE}" MAKE_ENV+= SKKJISYOCDB="${SKKJISYOCDB}" -.if !defined(NOPORTDOCS) + PORTDOCS= ${PORTDOCS_FILE} ${PORTDOCS_SH} PORTDOCS_FILE= CHANGES LICENSE READMEJP \ example-daemontools.txt example-inetd.txt PORTDOCS_SH= makeskkcdb.sh skktocdbm.sh -.endif -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS post-patch: .for f in READMEJP makeskkcdb.sh - ${REINPLACE_CMD} -e "s!%%PREFIX%%!${PREFIX}!g" -e "s!%%SKKDIR%%!${SKKDIR}!g" -e "s!%%JISYONAME%%!SKK-JISYO.${SKKJISYO_TYPE}!g" ${WRKSRC}/${f} + ${REINPLACE_CMD} -e "s!%%PREFIX%%!${PREFIX}!g" \ + -e "s!%%SKKDIR%%!${SKKDIR}!g" \ + -e "s!%%JISYONAME%%!SKK-JISYO.${SKKJISYO_TYPE}!g" ${WRKSRC}/${f} .endfor do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/dbskkd-cdb ${PREFIX}/libexec -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for docs in ${PORTDOCS_FILE} - ${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} -.endfor -.for docs in ${PORTDOCS_SH} - ${INSTALL_SCRIPT} ${WRKSRC}/${docs} ${DOCSDIR} -.endfor -.endif - @${CAT} ${PKGMESSAGE} + ${INSTALL_PROGRAM} ${WRKSRC}/dbskkd-cdb ${STAGEDIR}${PREFIX}/libexec + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS_FILE:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + ${INSTALL_SCRIPT} ${PORTDOCS_SH:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.include +.include