pkgsrc/net/tvnjviewer/Makefile
rillig 9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00

30 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2020/01/26 17:31:57 rillig Exp $
DISTNAME= tvnjviewer-2.7.2-bin
PKGNAME= ${DISTNAME:S:-bin::}
CATEGORIES= net
MASTER_SITES= http://www.tightvnc.com/download/2.7.2/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.tightvnc.com/doc/java/README.txt
COMMENT= JAVA VNC viewer
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # none
USE_JAVA= run
INSTALLATION_DIRS= bin lib/java/tvnjviewer share/doc/tvnjviewer
do-build:
${ECHO} "#!/bin/sh" >${WRKSRC}/tvnjviewer
${ECHO} "exec java -jar ${PREFIX}/lib/java/tvnjviewer/tightvnc-jviewer.jar \"\$$@\"" >>${WRKSRC}/tvnjviewer
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tvnjviewer ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/tightvnc-jviewer.jar ${DESTDIR}${PREFIX}/lib/java/tvnjviewer
${INSTALL_DATA} ${WRKSRC}/README.txt ${DESTDIR}${PREFIX}/share/doc/tvnjviewer
${INSTALL_DATA} ${WRKSRC}/viewer-applet-example.html ${DESTDIR}${PREFIX}/share/doc/tvnjviewer
.include "../../mk/java-vm.mk"
.include "../../mk/bsd.pkg.mk"