freebsd-ports/net-mgmt/confregdecode/Makefile
Joe Marcus Clarke 83cada70e0 * Update to bsd.java.mk 2.0 [1]
* Install JAR file in DATADIR=${JAVASHAREDIR}/${PORTNAME} [1]
* 'javavm' -> 'java' [1]
* Convert to SUB_FILES

PR:		102194 [1]
Submitted by:	hq [1]
2006-08-19 17:26:49 +00:00

38 lines
937 B
Makefile

# New ports collection makefile for: The cisco Systems IOS(tm) config register decoder
# Date created: 24 May 2001
# Whom: Joe Clarke <marcus@marcuscom.com>
#
# $FreeBSD$
#
PORTNAME= confregdecode
PORTVERSION= 1.2.1
PORTREVISION= 1
CATEGORIES= net-mgmt java
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= cosi-nms
DISTNAME= confregdecode-src-${PORTVERSION}
MAINTAINER= marcus@FreeBSD.org
COMMENT= Cisco Systems IOS(tm) configuration register decoder
USE_JAVA= yes
ALL_TARGET= jar
MAKE_ENV= JAVAC="${JAVAC}" JAR="${JAR}"
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
SUB_FILES= confregdecode
do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/confregdecode ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for file in README.txt ConfregDecode.html
${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>