freebsd-ports/graphics/fly/Makefile

37 lines
839 B
Makefile
Raw Normal View History

# Created by: Juergen Unger <j.unger@choin.net>
1999-08-25 08:16:32 +02:00
# $FreeBSD$
PORTNAME= fly
PORTVERSION= 2.0.1
2013-08-09 16:05:52 +02:00
PORTREVISION= 5
CATEGORIES= graphics
MASTER_SITES= http://fossies.org/unix/www/ \
http://martin.gleeson.com/fly/dist/
MAINTAINER= ports@FreeBSD.org
2003-02-21 13:17:17 +01:00
COMMENT= Simple drawing language to generate GIFs on the fly
2013-08-09 16:05:52 +02:00
LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd
PORTDOCS= *
PORTEXAMPLES= *
PLIST_FILES= bin/fly
NO_STAGE= yes
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
.include <bsd.port.mk>