f8c036bd7f
Changes: * web2png: Applied Bernhard Reiter's fix. * web2png: Deal gracefully with GIF names that have leading numerics.
23 lines
642 B
Makefile
23 lines
642 B
Makefile
# $NetBSD: Makefile,v 1.5 1999/12/26 00:45:50 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= gif2png-2.2.5
|
|
CATEGORIES= graphics converters
|
|
MASTER_SITES= http://www.tuxedo.org/~esr/gif2png/ \
|
|
${MASTER_SITE_SUNSITE:=apps/graphics/convert/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.tuxedo.org/~esr/gif2png/
|
|
|
|
DEPENDS+= png-1.0.3:../../graphics/png
|
|
|
|
GNU_CONFIGURE= YES
|
|
MAKE_ENV+= INCLUDES="-I${PREFIX}/include"
|
|
|
|
post-install:
|
|
${SED} s:/usr/bin/python:${PREFIX}/bin/python: \
|
|
<${PREFIX}/bin/web2png >${PREFIX}/bin/web2png.new
|
|
${MV} ${PREFIX}/bin/web2png.new ${PREFIX}/bin/web2png
|
|
${CHMOD} +x ${PREFIX}/bin/web2png
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|