# New ports collection makefile for: drexelsnmp # Date created: 2005-02-15 # Whom: Anders Nordby # # $FreeBSD$ # PORTNAME= drexelsnmp PORTVERSION= 1.4 PORTREVISION= 1 CATEGORIES= java devel net-mgmt MASTER_SITES= http://gicl.cs.drexel.edu/people/sevy/snmp/ DISTNAME= source_${PORTVERSION} MAINTAINER= ports@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