1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/graphics/fly/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +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= 2
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>