From owner-svn-ports-all@FreeBSD.ORG Sun Jul 6 12:29:23 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 0EA34E1C; Sun, 6 Jul 2014 12:29:23 +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 E4DD62D89; Sun, 6 Jul 2014 12:29:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s66CTMJL069503; Sun, 6 Jul 2014 12:29:22 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s66CTMoi069498; Sun, 6 Jul 2014 12:29:22 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201407061229.s66CTMoi069498@svn.freebsd.org> From: Pawel Pekala Date: Sun, 6 Jul 2014 12:29:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r360889 - in head/print/epsonepl: . files 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: Sun, 06 Jul 2014 12:29:23 -0000 Author: pawel Date: Sun Jul 6 12:29:21 2014 New Revision: 360889 URL: http://svnweb.freebsd.org/changeset/ports/360889 QAT: https://qat.redports.org/buildarchive/r360889/ Log: - Add staging support, allow it as regular user - Convert to new LIB_DEPENDS format - Use SUB_FILES for path substitution - Unmute install commands Added: head/print/epsonepl/files/pkg-message.in - copied, changed from r360738, head/print/epsonepl/pkg-message Deleted: head/print/epsonepl/pkg-message Modified: head/print/epsonepl/Makefile head/print/epsonepl/files/Makefile head/print/epsonepl/pkg-plist Modified: head/print/epsonepl/Makefile ============================================================================== --- head/print/epsonepl/Makefile Sun Jul 6 12:27:22 2014 (r360888) +++ head/print/epsonepl/Makefile Sun Jul 6 12:29:21 2014 (r360889) @@ -12,20 +12,21 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Printer filter for EPSON EPL-5700L etc -USE_GHOSTSCRIPT_RUN= yes +LIB_DEPENDS= libijs.so:${PORTSDIR}/print/libijs -LIB_DEPENDS= ijs.1:${PORTSDIR}/print/libijs +USES= uidfix +USE_GHOSTSCRIPT_RUN= yes MAKEFILE= ${FILESDIR}/Makefile +SUB_FILES= pkg-message -NO_STAGE= yes post-extract: @cd ${WRKSRC} && ${LS} ijs* | ${GREP} -v ${PORTNAME} | ${XARGS} ${RM} post-install: - @${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${PREFIX}/etc - @${MKDIR} ${DATADIR} - @${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.apsfilter ${DATADIR} - @${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${PKGMESSAGE} + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample \ + ${STAGEDIR}${PREFIX}/etc + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.apsfilter ${STAGEDIR}${DATADIR} .include Modified: head/print/epsonepl/files/Makefile ============================================================================== --- head/print/epsonepl/files/Makefile Sun Jul 6 12:27:22 2014 (r360888) +++ head/print/epsonepl/files/Makefile Sun Jul 6 12:29:21 2014 (r360889) @@ -1,7 +1,7 @@ # $FreeBSD$ -DESTDIR= ${PREFIX} -BINDIR= /bin +DESTDIR= +BINDIR= ${PREFIX}/bin CFLAGS+= -I${LOCALBASE}/include/ijs LDADD= -L${LOCALBASE}/lib -lijs Copied and modified: head/print/epsonepl/files/pkg-message.in (from r360738, head/print/epsonepl/pkg-message) ============================================================================== --- head/print/epsonepl/pkg-message Sat Jul 5 12:19:32 2014 (r360738, copy source) +++ head/print/epsonepl/files/pkg-message.in Sun Jul 6 12:29:21 2014 (r360889) @@ -4,6 +4,6 @@ You need to copy and customize %%PREFIX%%/etc/epsonepl.conf[.sample] If you're using apsfilter then have a look -at %%PREFIX%%/share/epsonepl/epsonepl.apsfilter +at %%DATADIR%%/epsonepl.apsfilter ------------------------------------------------------------------------- Modified: head/print/epsonepl/pkg-plist ============================================================================== --- head/print/epsonepl/pkg-plist Sun Jul 6 12:27:22 2014 (r360888) +++ head/print/epsonepl/pkg-plist Sun Jul 6 12:29:21 2014 (r360889) @@ -1,5 +1,5 @@ bin/ijs_server_epsonepl bin/ps2epl etc/epsonepl.conf.sample -share/epsonepl/epsonepl.apsfilter +%%DATADIR%%/epsonepl.apsfilter @dirrm share/epsonepl