From owner-svn-ports-all@FreeBSD.ORG Tue Jan 21 20:06:34 2014 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 ESMTPS id 8849F85B; Tue, 21 Jan 2014 20:06:34 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7482913A1; Tue, 21 Jan 2014 20:06:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0LK6YHQ034776; Tue, 21 Jan 2014 20:06:34 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0LK6Y3C034775; Tue, 21 Jan 2014 20:06:34 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201401212006.s0LK6Y3C034775@svn.freebsd.org> From: Antoine Brodin Date: Tue, 21 Jan 2014 20:06:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340648 - head/graphics/giftool 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.17 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: Tue, 21 Jan 2014 20:06:34 -0000 Author: antoine Date: Tue Jan 21 20:06:33 2014 New Revision: 340648 URL: http://svnweb.freebsd.org/changeset/ports/340648 QAT: https://qat.redports.org/buildarchive/r340648/ Log: - Stage support - Use OPTIONS helpers Modified: head/graphics/giftool/Makefile Modified: head/graphics/giftool/Makefile ============================================================================== --- head/graphics/giftool/Makefile Tue Jan 21 20:02:18 2014 (r340647) +++ head/graphics/giftool/Makefile Tue Jan 21 20:06:33 2014 (r340648) @@ -9,7 +9,7 @@ DISTNAME= ${PORTNAME} EXTRACT_SUFX= .tar.Z MAINTAINER= ports@FreeBSD.org -COMMENT= A tool for GIF89a transparent option and interlace mode +COMMENT= Tool for GIF89a transparent option and interlace mode NO_CDROM= Shareware @@ -25,24 +25,12 @@ MALLOCSIZE_DESC= Improve malloc size PLIST_FILES= bin/${PORTNAME} PORTDOCS= COPYRIGHT README -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MRETVALUE} -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-aa -.endif -.if ${PORT_OPTIONS:MMALLOCSIZE} -EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-ab -.endif +RETVALUE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-aa +MALLOCSIZE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ab do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/giftool ${PREFIX}/bin -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}) -.endif - -post-install: - @${CAT} ${PKGMESSAGE} + ${INSTALL_PROGRAM} ${WRKSRC}/giftool ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include