ports/50490: clean Makefile security/p5-Crypt-TwoFish
Erwin Lansing
erwin at lansing.dk
Mon Mar 31 17:30:09 UTC 2003
>Number: 50490
>Category: ports
>Synopsis: clean Makefile security/p5-Crypt-TwoFish
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 31 09:30:06 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Erwin Lansing
>Release: FreeBSD 4.8-RC i386
>Organization:
pil.dk
>Environment:
System: FreeBSD panda.droso.net 4.8-RC FreeBSD 4.8-RC #16: Fri Mar 21 10:03:34 CET 2003 root at panda.droso.net:/usr/obj/usr/src/sys/PANDA i386
>Description:
Clean up Makefile:
- remove SITE_PERL
- remove MANPREFIX
- use PERL_LEVEL to determine perl version
- take maintainership
>How-To-Repeat:
>Fix:
--- p5-Crypt-TwoFish.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/p5-Crypt-Twofish/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile 20 Feb 2003 18:59:09 -0000 1.9
+++ Makefile 31 Mar 2003 17:27:35 -0000
@@ -12,24 +12,17 @@
MASTER_SITE_SUBDIR= Crypt
PKGNAMEPREFIX= p5-
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= erwin at 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>
--- p5-Crypt-TwoFish.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list