diff options
author | Will Andrews <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-06-17 02:37:15 +0000 |
commit | 1e60866cc19e399726a715fe8f90de75614755d9 (patch) | |
tree | 919603a1bf324ecbe31827d6a9441e11e58f98a0 /net-mgmt | |
parent | 30563b53998852429b379c5698be8bc307cc56ca (diff) | |
download | ports-1e60866cc19e399726a715fe8f90de75614755d9.tar.gz ports-1e60866cc19e399726a715fe8f90de75614755d9.zip |
Lots and lots of cleanups. Teach p5-* in general about PKGNAMEPREFIX.
Add some missing/wrong dependencies. Show how to respect CC/CFLAGS. Many
miscellaneous modifications. I used more excessive hacks to force p5-Jcode
and p5-WWW-Search to respect CC/CFLAGS.
Patches largely done by: Christian Weisgerber <naddy@mips.inka.de>
Notes
Notes:
svn path=/head/; revision=29658
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/p5-Net-IPv4Addr/Makefile | 13 | ||||
-rw-r--r-- | net-mgmt/p5-Net-IPv4Addr/distinfo | 2 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP-Util/Makefile | 6 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP/Makefile | 12 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP_Session/Makefile | 6 |
5 files changed, 21 insertions, 18 deletions
diff --git a/net-mgmt/p5-Net-IPv4Addr/Makefile b/net-mgmt/p5-Net-IPv4Addr/Makefile index cfacd3bc4f23..51b18c597dc7 100644 --- a/net-mgmt/p5-Net-IPv4Addr/Makefile +++ b/net-mgmt/p5-Net-IPv4Addr/Makefile @@ -5,12 +5,12 @@ # $FreeBSD$ # -PORTNAME= p5-Net-IPv4Addr -PORTVERSION= 0.08 +PORTNAME= Net-IPv4Addr +PORTVERSION= 0.09 CATEGORIES= net perl5 -# not using CPAN due to them messing up the filename and version numbers -MASTER_SITES= http://indev.insu.com/sources/ -DISTNAME= Net-IPv4Addr-${PORTVERSION} +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Net +PKGNAMEPREFIX= p5- MAINTAINER= bradh@uunet.co.za @@ -21,6 +21,7 @@ MAN3= Net::IPv4Addr.3 do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL PREFIX=${PREFIX} + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + PREFIX=${PREFIX} .include <bsd.port.mk> diff --git a/net-mgmt/p5-Net-IPv4Addr/distinfo b/net-mgmt/p5-Net-IPv4Addr/distinfo index de43ba0e5e0a..738fa96d1fa7 100644 --- a/net-mgmt/p5-Net-IPv4Addr/distinfo +++ b/net-mgmt/p5-Net-IPv4Addr/distinfo @@ -1 +1 @@ -MD5 (Net-IPv4Addr-0.08.tar.gz) = e8600b1d64b8dc3e5edc34ac7e197f21 +MD5 (Net-IPv4Addr-0.09.tar.gz) = 9c1a7f72b632c6babb52b7368fe5cf83 diff --git a/net-mgmt/p5-SNMP-Util/Makefile b/net-mgmt/p5-SNMP-Util/Makefile index 574159da0e78..e1566db80e67 100644 --- a/net-mgmt/p5-SNMP-Util/Makefile +++ b/net-mgmt/p5-SNMP-Util/Makefile @@ -5,18 +5,18 @@ # $FreeBSD$ # -PORTNAME= p5-SNMP-Util +PORTNAME= SNMP-Util PORTVERSION= 1.6 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= SNMP -DISTNAME= SNMP-Util-1.6 +PKGNAMEPREFIX= p5- MAINTAINER= fenner@FreeBSD.org RUN_DEPENDS= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/SNMP.pm:${PORTSDIR}/net/p5-SNMP -USE_PERL5= YES +USE_PERL5= yes MAN3= SNMP::Util.3 MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} diff --git a/net-mgmt/p5-SNMP/Makefile b/net-mgmt/p5-SNMP/Makefile index 46c99fd7b433..5b8f730ae20b 100644 --- a/net-mgmt/p5-SNMP/Makefile +++ b/net-mgmt/p5-SNMP/Makefile @@ -5,23 +5,25 @@ # $FreeBSD$ # -PORTNAME= p5-SNMP +PORTNAME= SNMP PORTVERSION= 1.8.1 CATEGORIES= net perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= SNMP -DISTNAME= SNMP-${PORTVERSION} +PKGNAMEPREFIX= p5- MAINTAINER= jfitz@FreeBSD.org LIB_DEPENDS= snmp.4:${PORTSDIR}/net/ucd-snmp -USE_PERL5= YES +USE_PERL5= yes do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \ + CC="${CC}" CCFLAGS="${CFLAGS}" post-install: - @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/lib/perl5/site_perl/README.SNMP + @${INSTALL_DATA} ${WRKSRC}/README \ + ${PREFIX}/lib/perl5/site_perl/README.SNMP .include <bsd.port.mk> diff --git a/net-mgmt/p5-SNMP_Session/Makefile b/net-mgmt/p5-SNMP_Session/Makefile index 2354f04df7f0..35246635ab16 100644 --- a/net-mgmt/p5-SNMP_Session/Makefile +++ b/net-mgmt/p5-SNMP_Session/Makefile @@ -5,17 +5,17 @@ # $FreeBSD$ # -PORTNAME= p5-SNMP_Session +PORTNAME= SNMP_Session PORTVERSION= 0.75 CATEGORIES= net perl5 MASTER_SITES= ftp://ftp.switch.ch/software/sources/network/snmp/perl/ -DISTNAME= SNMP_Session-0.75 +PKGNAMEPREFIX= p5- MAINTAINER= ports@FreeBSD.org USE_PERL5= yes do-configure: - @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL .include <bsd.port.mk> |