aboutsummaryrefslogtreecommitdiffstats
path: root/java/westhawksnmp/Makefile
blob: ca9e831e5699ddfb2853808dafaa6974c0c782fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    westhawksnmp
# Date created:             2004-10-25
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   westhawksnmp
PORTVERSION=    5.1
PORTREVISION=   2
CATEGORIES= java net-mgmt devel
MASTER_SITES=   http://snmp.westhawk.co.uk/
DISTNAME=   ${PORTNAME:S/westhawk//}${PORTVERSION:S/./_/}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Lightweight SNMP stack for Java

USE_JAVA=   yes
USE_ZIP=    yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

do-install:
    ${INSTALL_DATA} ${WRKSRC}/lib/snmp5_1.jar ${JAVAJARDIR}/snmp.jar
    ${INSTALL_DATA} ${WRKSRC}/lib/snmpOracle5_1.jar ${JAVAJARDIR}/snmpOracle.jar
    ${INSTALL_DATA} ${WRKSRC}/lib/tablelayout.jar ${JAVAJARDIR}/
.if !defined(NOPORTDOCS)
    ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
    ${CP} -R ${WRKSRC}/doc ${DOCSDIR}/
.endif

.include <bsd.port.mk>