svn commit: r342355 - head/graphics/fly
Antoine Brodin
antoine at FreeBSD.org
Sun Feb 2 18:45:28 UTC 2014
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 at 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>
More information about the svn-ports-head
mailing list