aboutsummaryrefslogtreecommitdiffstats
path: root/games/p5-Games-Bingo/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-01-24 22:55:49 +0800
committerkrion <krion@FreeBSD.org>2004-01-24 22:55:49 +0800
commita7e99156a63fdb1e88bc5cf69d78c8cfc33af4e8 (patch)
treef663859df465069d75570561113a3e055f7d5613 /games/p5-Games-Bingo/Makefile
parentf0b4aa2d18e9a70b474a3af517c3d33d9492ed0a (diff)
downloadfreebsd-ports-gnome-a7e99156a63fdb1e88bc5cf69d78c8cfc33af4e8.tar.gz
freebsd-ports-gnome-a7e99156a63fdb1e88bc5cf69d78c8cfc33af4e8.tar.zst
freebsd-ports-gnome-a7e99156a63fdb1e88bc5cf69d78c8cfc33af4e8.zip
- Update to version 0.10
PR: ports/61719 Submitted by: maintainer
Diffstat (limited to 'games/p5-Games-Bingo/Makefile')
-rw-r--r--games/p5-Games-Bingo/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/games/p5-Games-Bingo/Makefile b/games/p5-Games-Bingo/Makefile
index dfeccb79fd2d..571ee9ded29c 100644
--- a/games/p5-Games-Bingo/Makefile
+++ b/games/p5-Games-Bingo/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Games-Bingo
-PORTVERSION= 0.09
+PORTVERSION= 0.10
CATEGORIES= games perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Games
@@ -23,6 +23,17 @@ MAN3= Games::Bingo.3 \
Games::Bingo::ColumnCollection.3 \
Games::Bingo::Constants.3
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${FIND} ${WRKSRC} -name \*.orig -delete
+
+.if ${PERL_LEVEL} < 500601
+# damn old MakeMaker...
+post-configure:
+ ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile
+.endif
+
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing example for ${PKGNAME}"
@@ -30,4 +41,4 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/bingo.pl ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>