2002-03-13 18:36:35 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2002/03/13 17:37:05 fredb Exp $
|
1998-04-28 17:00:51 +02:00
|
|
|
|
1999-08-27 12:11:01 +02:00
|
|
|
DISTNAME= fly-1.6.5
|
2002-03-13 18:36:35 +01:00
|
|
|
PKGREVISION= 1
|
1998-06-25 21:31:32 +02:00
|
|
|
CATEGORIES= graphics www
|
1999-05-03 22:25:36 +02:00
|
|
|
MASTER_SITES= ftp://www.unimelb.edu.au/pub/www/tools/unix/fly/
|
1998-04-28 17:00:51 +02:00
|
|
|
|
|
|
|
MAINTAINER= bouyer@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.unimelb.edu.au/fly/fly.html
|
2001-02-16 16:22:13 +01:00
|
|
|
COMMENT= command-file interface for creating and modifying PNG images
|
1998-04-28 17:00:51 +02:00
|
|
|
|
2001-03-27 05:19:43 +02:00
|
|
|
BUILD_DEPENDS+= gif2png-2.4.2:../../graphics/gif2png
|
2002-03-13 18:36:35 +01:00
|
|
|
DEPENDS+= gd>=1.8.4nb1:../../graphics/gd
|
1999-11-01 04:31:45 +01:00
|
|
|
|
2000-07-18 17:20:59 +02:00
|
|
|
EVAL_PREFIX+= XPMDIR=xpm
|
|
|
|
USE_X11= yes # (perhaps) -lXpm
|
|
|
|
CPPFLAGS+= -I${XPMDIR}/include -I${XPMDIR}/include/X11 # Xpm.h
|
1999-11-01 04:31:45 +01:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include # gd.h
|
1998-04-28 17:00:51 +02:00
|
|
|
|
1999-05-03 01:17:23 +02:00
|
|
|
do-install:
|
1998-04-28 17:00:51 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin
|
1999-11-01 04:31:45 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fly
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fly
|
|
|
|
cd ${WRKSRC}/doc; ${LOCALBASE}/bin/gif2png *.gif
|
|
|
|
cd ${WRKSRC}/doc; ${INSTALL_DATA} *.html *.png ${PREFIX}/share/doc/fly
|
|
|
|
${RM} -f ${WRKSRC}/examples/*.orig
|
|
|
|
cd ${WRKSRC}/examples; ${INSTALL_DATA} * ${PREFIX}/share/examples/fly
|
1998-04-28 17:00:51 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|