mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
34 lines
849 B
Makefile
34 lines
849 B
Makefile
# 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>
|