2005-02-15 14:50:09 +00:00
|
|
|
# New ports collection makefile for: drexelsnmp
|
|
|
|
# Date created: 2005-02-15
|
|
|
|
# Whom: Anders Nordby <anders@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= drexelsnmp
|
2008-04-08 14:54:54 +00:00
|
|
|
PORTVERSION= 1.4.2
|
2008-06-06 14:17:21 +00:00
|
|
|
PORTREVISION= 1
|
2005-02-15 14:50:09 +00:00
|
|
|
CATEGORIES= java devel net-mgmt
|
2006-02-07 08:23:24 +00:00
|
|
|
MASTER_SITES= http://gicl.cs.drexel.edu/people/sevy/snmp/
|
2005-02-15 14:50:09 +00:00
|
|
|
DISTNAME= source_${PORTVERSION}
|
|
|
|
|
2007-06-03 20:15:41 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-02-15 14:50:09 +00:00
|
|
|
COMMENT= Java SNMP protocol implementation
|
|
|
|
|
|
|
|
USE_JAVA= yes
|
|
|
|
USE_ZIP= yes
|
|
|
|
|
|
|
|
CLASSDIR= ${PREFIX}/share/java/classes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2008-04-08 14:54:54 +00:00
|
|
|
PLIST_FILES= share/java/classes/snmp.jar
|
|
|
|
|
2005-02-15 14:50:09 +00:00
|
|
|
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>
|