From a22602becdfda1e8cbe1e62e183f4548801fd162 Mon Sep 17 00:00:00 2001 From: steve Date: Mon, 1 Nov 1999 00:46:19 +0000 Subject: Correct path to python in web2png script. PR: 14556 Submitted by: Marcin Cie^vlak --- graphics/gif2png/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'graphics/gif2png') diff --git a/graphics/gif2png/Makefile b/graphics/gif2png/Makefile index 48183c6..154aa2d 100644 --- a/graphics/gif2png/Makefile +++ b/graphics/gif2png/Makefile @@ -17,6 +17,10 @@ LIB_DEPENDS= png.3:${PORTSDIR}/graphics/png GNU_CONFIGURE= yes CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" +pre-build: + mv ${WRKSRC}/web2png ${WRKSRC}/web2png_prepatch + $(SED) -e '1s#/usr/bin/python#/usr/bin/env python#' ${WRKSRC}/web2png_prepatch > ${WRKSRC}/web2png + MAN1= gif2png.1 web2png.1 .include -- cgit v1.1