blob: 79d298709ad95abad4078ef1caca91a786471593 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Created by: Juergen Unger <j.unger@choin.net>
# $FreeBSD$
PORTNAME= fly
PORTVERSION= 2.0.1
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://fossies.org/unix/www/ \
http://martin.gleeson.com/fly/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple drawing language to generate GIFs on the fly
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/fly
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 ${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>
|