pkgsrc/graphics/fly/Makefile
tv c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00

42 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2004/10/03 00:14:50 tv Exp $
DISTNAME= fly-1.6.5
PKGREVISION= 6
CATEGORIES= graphics www
MASTER_SITES= ftp://www.unimelb.edu.au/pub/www/tools/unix/fly/
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= http://www.unimelb.edu.au/fly/fly.html
COMMENT= Command-file interface for creating and modifying PNG images
BUILD_DEPENDS+= gif2png>=2.4.2:../../graphics/gif2png
USE_BUILDLINK3= YES
USE_PERL5= YES
USE_X11= YES
REPLACE_PERL= examples/cgi-perl-example.pl \
examples/fly-tester.pl \
examples/size.pl \
examples/perl.example
pre-configure:
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
< ${WRKSRC}/examples/cgi-perl-example.pl \
> ${WRKSRC}/examples/cgi-perl-example.pl.new
${MV} ${WRKSRC}/examples/cgi-perl-example.pl.new \
${WRKSRC}/examples/cgi-perl-example.pl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fly ${PREFIX}/bin
${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
.include "../../graphics/freetype-lib/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"