aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Crypt-Twofish
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-04-01 01:34:08 +0800
committernork <nork@FreeBSD.org>2003-04-01 01:34:08 +0800
commitbd283f7e7251b6066ae3151bd54ff7c74b746321 (patch)
treea5666873d14e7a4fe993c4721af4501f63e6bba9 /security/p5-Crypt-Twofish
parent8d9925f9505f95dbf00285eb58db484c86d906e4 (diff)
downloadfreebsd-ports-gnome-bd283f7e7251b6066ae3151bd54ff7c74b746321.tar.gz
freebsd-ports-gnome-bd283f7e7251b6066ae3151bd54ff7c74b746321.tar.zst
freebsd-ports-gnome-bd283f7e7251b6066ae3151bd54ff7c74b746321.zip
Clean up Makefile:
o remove SITE_PERL o remove MANPREFIX o use PERL_LEVEL to determine perl version o give maintainership PR: ports/50490 Submitted by: Erwin Lansing <erwin@lansing.dk>
Diffstat (limited to 'security/p5-Crypt-Twofish')
-rw-r--r--security/p5-Crypt-Twofish/Makefile13
1 files changed, 3 insertions, 10 deletions
diff --git a/security/p5-Crypt-Twofish/Makefile b/security/p5-Crypt-Twofish/Makefile
index 4bb6e5bceb4d..ba14c245f027 100644
--- a/security/p5-Crypt-Twofish/Makefile
+++ b/security/p5-Crypt-Twofish/Makefile
@@ -12,24 +12,17 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Crypt
PKGNAMEPREFIX= p5-
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= erwin@lansing.dk
COMMENT= Perl module implementing the Twofish cipher
PERL_CONFIGURE= yes
MAN3= Crypt::Twofish.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-
.include <bsd.port.pre.mk>
-SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
-
-PERL_MAJOR=${PERL_VER:C|^([1-9]+).*|\1|}
-PERL_MINOR=${PERL_VER:C|^[1-9]+\.0*([1-9]+).*|\1|}
-
-.if ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
+.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-.endif # ${PERL_MAJOR} < 5 || ${PERL_MAJOR} == 5 && ${PERL_MINOR} < 8
+.endif
.include <bsd.port.post.mk>