pkgsrc/www/ns-remote/Makefile
abs bd56a9518d Update ns-remote to 1.6
Replace 'ns-remote: not running on display :0.0' error message with more
    appropriate 'Netscape not running. Spawning new browser in the background'
    From Benjamin Wong in PR pkg/15615
2002-03-26 22:43:46 +00:00

35 lines
840 B
Makefile

# $NetBSD: Makefile,v 1.12 2002/03/26 22:43:46 abs Exp $
DISTNAME= ns-remote
PKGNAME= ns-remote-1.6
CATEGORIES= www
MASTER_SITES= http://home.netscape.com/newsref/std/
DISTFILES= remote.c vroot.h
MAINTAINER= norm@mono.org
HOMEPAGE= http://home.netscape.com/newsref/std/x-remote.html
COMMENT= remote-control Netscape Navigator and Communicator
DIST_SUBDIR= netscape
USE_BUILDLINK_ONLY= yes
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == SunOS)
LDFLAGS+= -lsocket -lnsl
.endif
do-extract:
${MKDIR} ${WRKSRC}
.for distfile in ${DISTFILES}
${CP} ${DISTDIR}/${DIST_SUBDIR}/${distfile} ${WRKSRC}
.endfor
${CP} ${FILESDIR}/Makefile ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ns-remote ${PREFIX}/bin
${INSTALL_SCRIPT} ${FILESDIR}/ns-open ${PREFIX}/bin
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"