mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
5223a66b16
Submitted by: demon
32 lines
772 B
Makefile
32 lines
772 B
Makefile
# New ports collection makefile for: drexelsnmp
|
|
# Date created: 2005-02-15
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= drexelsnmp
|
|
PORTVERSION= 1.4
|
|
CATEGORIES= java devel net-mgmt
|
|
MASTER_SITES= http://gicl.cs.drexel.edu/people/sevy/snmp/
|
|
DISTNAME= source_${PORTVERSION}
|
|
|
|
MAINTAINER= anders@FreeBSD.org
|
|
COMMENT= Java SNMP protocol implementation
|
|
|
|
USE_JAVA= yes
|
|
USE_ZIP= yes
|
|
|
|
CLASSDIR= ${PREFIX}/share/java/classes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
do-build:
|
|
${MKDIR} ${WRKSRC}/build_library
|
|
(cd ${WRKSRC} && ${JAVAC} -sourcepath source -d build_library source/snmp/*.java && ${JAR} cvf snmp.jar -C build_library/ .)
|
|
|
|
do-install:
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${CLASSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/snmp.jar ${CLASSDIR}/
|
|
|
|
.include <bsd.port.mk>
|