aboutsummaryrefslogtreecommitdiffstats
path: root/java/westhawksnmp/Makefile
blob: c9ab03109bd4e101af083b8c8e0c37e7af109fce (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
33
34
35
36
37
# New ports collection makefile for:    westhawksnmp
# Date created:             2004-10-25
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

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

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

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

CLASSDIR=   ${PREFIX}/share/java/classes
NO_WRKSUBDIR=   yes

do-install:
    ${INSTALL} -d -o root -g wheel -m 0755 ${CLASSDIR} ${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/snmp4_13.jar ${CLASSDIR}/snmp.jar
    ${INSTALL_DATA} ${WRKSRC}/snmpOracle4_13.jar ${CLASSDIR}/snmpOracle.jar
    ${INSTALL_DATA} ${WRKSRC}/tablelayout.jar ${CLASSDIR}/
    ${CP} -R ${WRKSRC}/org ${WRKSRC}/stubs ${DATADIR}/
.if !defined(NOPORTDOCS)
    ${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/*.html ${WRKSRC}/*.txt ${DOCSDIR}/
    ${CP} -R ${WRKSRC}/javadoc ${WRKSRC}/uk ${DOCSDIR}/
.endif

.include <bsd.port.mk>