pkgsrc/net/ra-rtsp-proxy/Makefile
jlam dc9594e09d Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mk
automatically detects whether we want the pkginstall machinery to be
used by the package Makefile.
2005-12-29 06:21:30 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2005/12/29 06:22:02 jlam Exp $
DISTNAME= rtspd-src-1.0.0.0
PKGNAME= ra-rtsp-proxy-1.0.0.0
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.scn.rain.com/pub/security/firewalls/
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://service.real.com/firewall/fdev.html
COMMENT= Proxy server for the RealAudio RTSP protocol
LICENSE= no-commercial-use
RESTRICTED= ${LICENSE}
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
RCD_SCRIPTS= rtspd
WRKSRC= ${WRKDIR}/rtspd-1.0.0.0a
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= LOCAL_LIBS="-lsocket -lnsl"
.endif
INSTALLATION_DIRS= etc/rc.d man/man8 sbin
do-install:
${INSTALL_MAN} ${WRKSRC}/rtspd.8 ${PREFIX}/man/man8
${INSTALL_PROGRAM} ${WRKSRC}/rtspd ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ra-rtsp-proxy
${INSTALL_DATA} ${WRKSRC}/license.txt ${PREFIX}/share/doc/ra-rtsp-proxy
@${SED} -e 's#/usr/local#${PREFIX}#g' <${WRKSRC}/README \
>${PREFIX}/share/doc/ra-rtsp-proxy/README
.include "../../mk/bsd.pkg.mk"