2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Juergen Unger <j.unger@choin.net>
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1998-12-19 15:58:00 +01:00
|
|
|
|
2000-04-13 08:28:28 +02:00
|
|
|
PORTNAME= fly
|
2009-06-22 10:45:54 +02:00
|
|
|
PORTVERSION= 2.0.1
|
2013-08-09 16:05:52 +02:00
|
|
|
PORTREVISION= 5
|
1998-12-19 15:58:00 +01:00
|
|
|
CATEGORIES= graphics
|
2011-11-27 10:53:07 +01:00
|
|
|
MASTER_SITES= http://fossies.org/unix/www/ \
|
|
|
|
http://martin.gleeson.com/fly/dist/
|
1998-12-19 15:58:00 +01:00
|
|
|
|
2011-04-27 03:56:47 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 13:17:17 +01:00
|
|
|
COMMENT= Simple drawing language to generate GIFs on the fly
|
1998-12-19 15:58:00 +01:00
|
|
|
|
2013-08-09 16:05:52 +02:00
|
|
|
LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
|
1999-09-04 22:05:05 +02:00
|
|
|
|
2011-11-27 10:53:07 +01:00
|
|
|
PORTDOCS= *
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
PLIST_FILES= bin/fly
|
|
|
|
|
2013-09-20 20:35:44 +02:00
|
|
|
NO_STAGE= yes
|
2005-09-09 20:26:47 +02:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} -I${LOCALBASE}/include fly.c -o fly \
|
|
|
|
-L${LOCALBASE}/lib -lgd
|
1998-12-19 15:58:00 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin
|
2005-09-09 20:26:47 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2011-11-27 10:53:07 +01:00
|
|
|
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${DOCSDIR})
|
2009-06-22 10:45:54 +02:00
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2005-09-09 20:26:47 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2011-11-27 10:53:07 +01:00
|
|
|
@(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
2005-09-09 20:26:47 +02:00
|
|
|
.endif
|
1998-12-19 15:58:00 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|