1e60866cc1
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>
29 lines
615 B
Makefile
29 lines
615 B
Makefile
# New ports collection makefile for: p5-SNMP
|
|
# Date created: May 5th 1997
|
|
# Whom: James FitzGibbon <jfitz@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= SNMP
|
|
PORTVERSION= 1.8.1
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= SNMP
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= jfitz@FreeBSD.org
|
|
|
|
LIB_DEPENDS= snmp.4:${PORTSDIR}/net/ucd-snmp
|
|
|
|
USE_PERL5= yes
|
|
|
|
do-configure:
|
|
@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
|
|
|
|
.include <bsd.port.mk>
|