1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/graphics/fly/Makefile
Sam Lawrance 9af25b7e9c Add in a null-pointer check to fail with an error message when fly is given
an input file of the wrong type (or a corrupt file).
Bump PORTREVISION.

PR:		ports/86137
Submitted by:	Nick Fishman <kwlogical@bellsouth.net>
2005-10-17 13:58:21 +00:00

37 lines
973 B
Makefile

# New ports collection makefile for: fly
# Date created: 30 December 1997
# Whom: Juergen Unger <j.unger@choin.net>
#
# $FreeBSD$
#
PORTNAME= fly
PORTVERSION= 2.0.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://members.optushome.com.au/martingleeson/%SUBDIR%/ \
http://martin.gleeson.com/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}/dist
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple drawing language to generate GIFs on the fly
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
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 && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>