From owner-svn-ports-all@FreeBSD.ORG Sun Aug 25 16:32:50 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E66613E7; Sun, 25 Aug 2013 16:32:50 +0000 (UTC) (envelope-from eadler@FreeBSD.org) 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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D2F9D266F; Sun, 25 Aug 2013 16:32:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7PGWoWQ003541; Sun, 25 Aug 2013 16:32:50 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7PGWotm003540; Sun, 25 Aug 2013 16:32:50 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201308251632.r7PGWotm003540@svn.freebsd.org> From: Eitan Adler Date: Sun, 25 Aug 2013 16:32:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325362 - head/graphics/scr2png 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.14 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, 25 Aug 2013 16:32:51 -0000 Author: eadler Date: Sun Aug 25 16:32:50 2013 New Revision: 325362 URL: http://svnweb.freebsd.org/changeset/ports/325362 Log: Reduce complexity in the scr2png port. Reviewed by: zeising Tested by: redports Modified: head/graphics/scr2png/Makefile Modified: head/graphics/scr2png/Makefile ============================================================================== --- head/graphics/scr2png/Makefile Sun Aug 25 16:25:04 2013 (r325361) +++ head/graphics/scr2png/Makefile Sun Aug 25 16:32:50 2013 (r325362) @@ -18,12 +18,10 @@ NO_WRKSUBDIR= yes MAN1= scr2png.1 MANCOMPRESSED= yes PLIST_FILES= bin/scr2png +MAKE_ARGS= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX} -post-extract: +pre-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|||' ${WRKSRC}/scr2png.c -do-install: - @cd ${WRKSRC}; ${MAKE} BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX} install - .include