blob: 4e70d7b8b8369789980c55839d61c3dc25a51438 (
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
37
38
39
|
# New ports collection makefile for: fly
# Date created: 30 December 1997
# Whom: Juergen Unger <j.unger@choin.net>
#
# $FreeBSD$
#
PORTNAME= fly
PORTVERSION= 2.0.1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://martin.gleeson.com/%SUBDIR%/ \
http://members.optushome.com.au/martingleeson/%SUBDIR%/ \
http://www.w3perl.com/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTNAME}/dist
MAINTAINER= corky1951@comcast.net
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}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${FIND} . | \
${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>
|