60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
32 lines
680 B
Makefile
32 lines
680 B
Makefile
# Created by: Stephen J. Roznowski <sjr@home.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= SNMP_Session
|
|
PORTVERSION= 1.13
|
|
PORTREVISION= 3
|
|
CATEGORIES= net-mgmt perl5
|
|
MASTER_SITES= GOOGLE_CODE
|
|
PROJECTHOST= snmp-session
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= demon@FreeBSD.org
|
|
COMMENT= Perl5 module providing rudimentary access to SNMPv1 and v2 agents
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
${RM} ${WRKSRC}/lib/SNMP_Session.pm.orig
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in README README.SNMP_util index.html
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
|
|
.include <bsd.port.mk>
|