From owner-svn-ports-head@FreeBSD.ORG Sat Mar 29 14:02:29 2014 Return-Path: Delivered-To: svn-ports-head@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 ESMTPS id BF48083C; Sat, 29 Mar 2014 14:02:29 +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 AC2DF3B4; Sat, 29 Mar 2014 14:02:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2TE2Tbk004434; Sat, 29 Mar 2014 14:02:29 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2TE2Tqv004433; Sat, 29 Mar 2014 14:02:29 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201403291402.s2TE2Tqv004433@svn.freebsd.org> From: Dmitry Marakasov Date: Sat, 29 Mar 2014 14:02:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r349512 - head/graphics/optipng 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.17 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, 29 Mar 2014 14:02:29 -0000 Author: amdmi3 Date: Sat Mar 29 14:02:29 2014 New Revision: 349512 URL: http://svnweb.freebsd.org/changeset/ports/349512 QAT: https://qat.redports.org/buildarchive/r349512/ Log: - Support staging - Use new LIB_DEPENDS syntax PR: 187331 Submitted by: amdmi3 Approved by: maintainer timeout, portmgr (blanket) Modified: head/graphics/optipng/Makefile Modified: head/graphics/optipng/Makefile ============================================================================== --- head/graphics/optipng/Makefile Sat Mar 29 14:01:55 2014 (r349511) +++ head/graphics/optipng/Makefile Sat Mar 29 14:02:29 2014 (r349512) @@ -18,19 +18,17 @@ BUNDLED_LIBPNG_DESC= Use bundled libpng BUNDLED_ZLIB_DESC= Use bundled zlib HAS_CONFIGURE= yes -PLIST_FILES= bin/optipng -MAN1= optipng.1 +PLIST_FILES= bin/optipng man/man1/optipng.1.gz PORTDOCS= history.txt optipng.man.html optipng.man.pdf optipng.man.txt \ png_optimization.html todo.txt -NO_STAGE= yes .include .if empty(PORT_OPTIONS:MBUNDLED_LIBPNG) CONFIGURE_ARGS+= --with-system-libpng CFLAGS+= "-I${LOCALBASE}/include" LDFLAGS+= "-L${LOCALBASE}/lib" -LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png +LIB_DEPENDS+= libpng15.so:${PORTSDIR}/graphics/png .endif .if empty(PORT_OPTIONS:MBUNDLED_ZLIB) @@ -38,13 +36,11 @@ CONFIGURE_ARGS+= --with-system-zlib .endif do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${MAN1PREFIX}/man/man1/ + ${INSTALL_PROGRAM} ${WRKSRC}/src/optipng/optipng ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/src/optipng/man/optipng.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ post-install: -.if ${PORT_OPTIONS:MDOCS} - ${INSTALL} -d ${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/ -.endif + ${INSTALL} -d ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/doc/,} ${STAGEDIR}${DOCSDIR}/ .include