aboutsummaryrefslogtreecommitdiffstats
path: root/misc/p5-Text-FIGlet
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2016-01-19 22:05:09 +0800
committersunpoet <sunpoet@FreeBSD.org>2016-01-19 22:05:09 +0800
commit583c7bab35018a71c3c55a3344108bacdeec9cf6 (patch)
tree07eb07997f3c8444ac73064b0676e057363f990c /misc/p5-Text-FIGlet
parent6e47956307749257fc67256657e830a9c0e25cdd (diff)
downloadfreebsd-ports-gnome-583c7bab35018a71c3c55a3344108bacdeec9cf6.tar.gz
freebsd-ports-gnome-583c7bab35018a71c3c55a3344108bacdeec9cf6.tar.zst
freebsd-ports-gnome-583c7bab35018a71c3c55a3344108bacdeec9cf6.zip
- Fix path: change from /usr/games/lib/figlet to PREFIX/share/figlet
- Bump PORTREVISION for package change PR: 205824 Submitted by: rodrigo
Diffstat (limited to 'misc/p5-Text-FIGlet')
-rw-r--r--misc/p5-Text-FIGlet/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/p5-Text-FIGlet/Makefile b/misc/p5-Text-FIGlet/Makefile
index acfa0957f5a2..11a17d0bc99e 100644
--- a/misc/p5-Text-FIGlet/Makefile
+++ b/misc/p5-Text-FIGlet/Makefile
@@ -3,7 +3,7 @@
PORTNAME= Text-FIGlet
PORTVERSION= 2.19.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= misc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -19,7 +19,11 @@ TEST_DEPENDS= p5-Test-Differences>=0:${PORTSDIR}/devel/p5-Test-Differences \
p5-Test-Pod>=1:${PORTSDIR}/devel/p5-Test-Pod
NO_ARCH= yes
+REINPLACE_ARGS= -i ''
USE_PERL5= configure
USES= perl5 tar:tgz
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/games/lib|${PREFIX}/share|' ${WRKSRC}/bin/*.pl ${WRKSRC}/lib/Text/FIGlet.pm ${WRKSRC}/lib/Text/FIGlet/*.pm
+
.include <bsd.port.mk>