From owner-svn-ports-head@FreeBSD.ORG Sun Feb 2 18:45:28 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 12CD95D5; Sun, 2 Feb 2014 18:45:28 +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 F0D091303; Sun, 2 Feb 2014 18:45:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s12IjRox080940; Sun, 2 Feb 2014 18:45:27 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s12IjRfa080939; Sun, 2 Feb 2014 18:45:27 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201402021845.s12IjRfa080939@svn.freebsd.org> From: Antoine Brodin Date: Sun, 2 Feb 2014 18:45:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342355 - head/graphics/fly 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: Sun, 02 Feb 2014 18:45:28 -0000 Author: antoine Date: Sun Feb 2 18:45:27 2014 New Revision: 342355 URL: http://svnweb.freebsd.org/changeset/ports/342355 QAT: https://qat.redports.org/buildarchive/r342355/ Log: Stage support Modified: head/graphics/fly/Makefile Modified: head/graphics/fly/Makefile ============================================================================== --- head/graphics/fly/Makefile Sun Feb 2 18:39:59 2014 (r342354) +++ head/graphics/fly/Makefile Sun Feb 2 18:45:27 2014 (r342355) @@ -11,26 +11,23 @@ MASTER_SITES= http://fossies.org/unix/ww MAINTAINER= ports@FreeBSD.org COMMENT= Simple drawing language to generate GIFs on the fly -LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd +LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= bin/fly -NO_STAGE= yes +OPTIONS_DEFINE= DOCS EXAMPLES + do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include fly.c -o fly \ -L${LOCALBASE}/lib -lgd do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR}) -.endif -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/fly ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include