Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Feb 2014 18:45:27 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342355 - head/graphics/fly
Message-ID:  <201402021845.s12IjRfa080939@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402021845.s12IjRfa080939>