From owner-svn-ports-all@freebsd.org Sat Feb 6 23:20:02 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D83AA9F32B; Sat, 6 Feb 2016 23:20:02 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 206D41310; Sat, 6 Feb 2016 23:20:02 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u16NK1vE020180; Sat, 6 Feb 2016 23:20:01 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u16NK1G6020178; Sat, 6 Feb 2016 23:20:01 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201602062320.u16NK1G6020178@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Sat, 6 Feb 2016 23:20:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408326 - head/graphics/pstoepsi 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.20 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: Sat, 06 Feb 2016 23:20:02 -0000 Author: amdmi3 Date: Sat Feb 6 23:20:00 2016 New Revision: 408326 URL: https://svnweb.freebsd.org/changeset/ports/408326 Log: - Add NO_ARCH - Silence patching - Switch to options helpers Modified: head/graphics/pstoepsi/Makefile head/graphics/pstoepsi/pkg-plist Modified: head/graphics/pstoepsi/Makefile ============================================================================== --- head/graphics/pstoepsi/Makefile Sat Feb 6 23:19:50 2016 (r408325) +++ head/graphics/pstoepsi/Makefile Sat Feb 6 23:20:00 2016 (r408326) @@ -17,10 +17,13 @@ RUN_DEPENDS= pbmtoepsi:${PORTSDIR}/graph USES= ghostscript:run NO_WRKSUBDIR= yes +NO_ARCH= yes + +OPTIONS_DEFINE= DOCS pre-patch: - ${CP} ${DISTDIR}/${DIST_SUBDIR}/pstoepsi ${WRKSRC}/pstoepsi.prefix - ${CP} ${DISTDIR}/${DIST_SUBDIR}/README.this-site ${WRKSRC} + @${CP} ${DISTDIR}/${DIST_SUBDIR}/pstoepsi ${WRKSRC}/pstoepsi.prefix + @${CP} ${DISTDIR}/${DIST_SUBDIR}/README.this-site ${WRKSRC} do-build: ${SED} -e "s+%%PREFIX%%+${PREFIX}+g" ${WRKSRC}/pstoepsi.prefix > \ @@ -29,6 +32,8 @@ do-build: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pstoepsi ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.this-site.gz ${STAGEDIR}${DOCSDIR} Modified: head/graphics/pstoepsi/pkg-plist ============================================================================== --- head/graphics/pstoepsi/pkg-plist Sat Feb 6 23:19:50 2016 (r408325) +++ head/graphics/pstoepsi/pkg-plist Sat Feb 6 23:20:00 2016 (r408326) @@ -1,2 +1,2 @@ bin/pstoepsi -share/doc/pstoepsi/README.this-site.gz +%%PORTDOCS%%%%DOCSDIR%%/README.this-site.gz