summaryrefslogtreecommitdiffstats
path: root/graphics/p5-GD1/Makefile
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-05-19 04:35:17 +0000
committeredwin <edwin@FreeBSD.org>2003-05-19 04:35:17 +0000
commitc22687ac227f4b450ce4cf3dc8dc2d55bd6cc4da (patch)
tree548a4549ede66a72ec4bc8fc2568f8010412585b /graphics/p5-GD1/Makefile
parentf6303f0bcf98c46677a7dbe871e71a6a8c7cd7d4 (diff)
downloadFreeBSD-ports-c22687ac227f4b450ce4cf3dc8dc2d55bd6cc4da.zip
FreeBSD-ports-c22687ac227f4b450ce4cf3dc8dc2d55bd6cc4da.tar.gz
Make LOCALBASE/X11BASE clean
Diffstat (limited to 'graphics/p5-GD1/Makefile')
-rw-r--r--graphics/p5-GD1/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/p5-GD1/Makefile b/graphics/p5-GD1/Makefile
index 248621a..27a84df 100644
--- a/graphics/p5-GD1/Makefile
+++ b/graphics/p5-GD1/Makefile
@@ -18,8 +18,15 @@ COMMENT= A perl5 interface to Gd Graphics Library
LIB_DEPENDS= gd.2:${PORTSDIR}/graphics/gd
PERL_CONFIGURE= yes
+USE_REINPLACE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= GD.3
+post-patch:
+ ${REINPLACE_CMD} \
+ -e 's,@@LOCALBASE@@,${LOCALBASE},g' \
+ -e 's,@@LOCALBASE@@,${LOCALBASE},g' \
+ ${WRKSRC}/Makefile.PL
+
.include <bsd.port.mk>
OpenPOWER on IntegriCloud