diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2003-06-07 15:02:28 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2003-06-07 15:02:28 +0000 |
commit | 2af8d1a6501708ab028b702aa590701ab57ff403 (patch) | |
tree | 84c08f3862430d9d045cf222c9dac93ae38d45c1 | |
parent | 40aca5887c5f604ba6f969bdb5c388ec4998f91a (diff) | |
download | ports-2af8d1a6501708ab028b702aa590701ab57ff403.tar.gz ports-2af8d1a6501708ab028b702aa590701ab57ff403.zip |
Notes
-rw-r--r-- | audio/gnump3d/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/gnump3d/Makefile b/audio/gnump3d/Makefile index 7c282abd8b70..d5acfda29f69 100644 --- a/audio/gnump3d/Makefile +++ b/audio/gnump3d/Makefile @@ -27,6 +27,13 @@ MAN1= gnump3d.1 gnump3d-top.1 gnump3d.conf.1 CONFDIR= ${PREFIX}/etc/${PORTNAME} PERL_SITELIBDIR= ${PREFIX}/lib/perl5/site_perl/${PERL_VER} +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BROKEN= "You need at least perl 5.6.0. Do not use FreeBSD 4.x' system perl,\ + it's outdated. Install lang/perl5 and issue 'use.perl port'" +.endif + post-patch: .for file in bin/gnump3d-top bin/gnump3d2 etc/gnump3d.conf man/gnump3d.conf.1 @${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g ; \ @@ -57,4 +64,4 @@ do-install: .endif ${MKDIR} /var/log/${PORTNAME} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |