448368bac9
Note that I fix patch-ab: jar -> $(JAR) PR: 27801 Submitted by: MAINTAINER
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
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.0.1
|
|
CATEGORIES= net java
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= cosi-nms
|
|
DISTNAME= confregdecode-src-${PORTVERSION}
|
|
|
|
MAINTAINER= marcus@marcuscom.com
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
|
|
RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk \
|
|
${LOCALBASE}/bin/javavm:${PORTSDIR}/java/javavmwrapper
|
|
|
|
ALL_TARGET= jar
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/share/java
|
|
@${INSTALL_DATA} ${WRKSRC}/confregdecode.jar ${LOCALBASE}/share/java
|
|
@${SED} \
|
|
-e s,%%PREFIX%%,${PREFIX}, \
|
|
-e s,%%LOCALBASE%%,${LOCALBASE}, \
|
|
< ${FILESDIR}/confregdecode > ${PREFIX}/bin/confregdecode; \
|
|
${CHMOD} a+x ${PREFIX}/bin/confregdecode
|
|
|
|
post-install:
|
|
@${MKDIR} ${PREFIX}/share/doc/confregdecode
|
|
@${INSTALL_DATA} ${WRKSRC}/README.txt ${LOCALBASE}/share/doc/confregdecode
|
|
@${INSTALL_DATA} ${WRKSRC}/ConfregDecode.html ${LOCALBASE}/share/doc/confregdecode
|
|
|
|
.include <bsd.port.mk>
|