d4a1e34209
Change ns-open to always start a new netscape process for URLs containing a comma, rather than trying to URL encode them. The XChangeProperty() call inside ns-remote interprets commas as deliminating optional arguments and does not handle URL encoded commas. Fixes PR pkg/14984 from reed@reedmedia.net
35 lines
840 B
Makefile
35 lines
840 B
Makefile
# $NetBSD: Makefile,v 1.11 2001/12/22 14:43:19 abs Exp $
|
|
|
|
DISTNAME= ns-remote
|
|
PKGNAME= ns-remote-1.5
|
|
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"
|