aboutsummaryrefslogtreecommitdiff
path: root/graphics/gif2png/Makefile
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-11-01 00:46:19 +0000
committerSteve Price <steve@FreeBSD.org>1999-11-01 00:46:19 +0000
commit62e5af2d958b5f64b93073adb4d7472c6b2776a9 (patch)
tree323ecd4218e427fcd4b2c01213726a54babaf41c /graphics/gif2png/Makefile
parent13bf4e0156c95c73099d71e81b0c06864f7cc067 (diff)
downloadports-62e5af2d958b5f64b93073adb4d7472c6b2776a9.tar.gz
ports-62e5af2d958b5f64b93073adb4d7472c6b2776a9.zip
Notes
Diffstat (limited to 'graphics/gif2png/Makefile')
-rw-r--r--graphics/gif2png/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/gif2png/Makefile b/graphics/gif2png/Makefile
index 48183c693c0e..154aa2df7661 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 <bsd.port.mk>