blob: ad2ca66ef80eea5419fecbb087df00d9cf21e600 (
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
34
35
36
|
# 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>
|