Move to MODPY_ADJ_FILES.

There is no point right now to dig the entire tree to move ports to using
this, but for new ports and when updating old ones, please try to use it
when possible. I just committed this one as an exemple on how to use this.
This commit is contained in:
ajacoutot 2010-10-26 14:31:22 +00:00
parent 39407c46c2
commit 1a02a0d04b

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.56 2010/10/19 08:13:57 espie Exp $
# $OpenBSD: Makefile,v 1.57 2010/10/26 14:31:22 ajacoutot Exp $
COMMENT= SAX-based render library for SVG files
@ -41,8 +41,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
pre-configure:
perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},' \
${WRKSRC}/rsvg.in
MODPY_ADJ_FILES= rsvg.in
.include <bsd.port.mk>