freebsd-ports/net-mgmt/p5-Altoids/Makefile
Mark Linimon dc572b07ee Before bsd.port.pre.mk, set either USE_PERL5 or WANT_PERL, depending on
whether the perl dependency is unconditional or conditional.  This will
be needed for the conditional inclusion of bsd.perl.mk.
2007-09-30 04:55:31 +00:00

33 lines
803 B
Makefile

# New ports collection makefile for: p5-Altoids
# Date created: 13 June 1999
# Whom: Bill Fumerola <billf@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Altoids
PORTVERSION= 1.017
CATEGORIES= net-mgmt perl5
MASTER_SITES= http://dave.plonka.us/Altoids/%SUBDIR%/
PKGNAMEPREFIX= p5-
DISTNAME= ${PORTNAME}${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= SNMP get/walk functionality with built-in name to OID translation
BUILD_DEPENDS= ${SITE_PERL}/SNMP_Session.pm:${PORTSDIR}/net-mgmt/p5-SNMP_Session
RUN_DEPENDS= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
USE_PERL5= yes
CONFIGURE_ARGS+= --with-perllib=${SITE_PERL} \
--with-oids=${LOCALBASE}/share/${PORTNAME:L}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>