File:  [cvs.NetBSD.org] / pkgsrc / net / stripes / Attic / Makefile
Revision 1.16: download - view: text, annotated - select for diffs
Tue Oct 23 17:19:11 2012 UTC (12 years, 1 month ago) by asau
Branches: MAIN
CVS tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

# $NetBSD: Makefile,v 1.16 2012/10/23 17:19:11 asau Exp $
#

DISTNAME=		stripes-2.1
PKGREVISION=		1
CATEGORIES=		net
MASTER_SITES=		# ftp://ftp.gw.com/sw/stripes/

MAINTAINER=		kim@tac.nyc.ny.us
HOMEPAGE=		http://www.gw.com/sw/stripes/
COMMENT=		Looking Glass for Zebra and Cisco Routers

DEPENDS+=		{p5-CGI>=2.66,perl>=5.6.1nb2}:../../www/p5-CGI
DEPENDS+=		p5-Net-Telnet>=3.02:../../net/p5-Net-Telnet

PKG_SYSCONFSUBDIR?=	httpd
BUILD_TARGET=		all
MAKE_FLAGS+=		DEST=${PREFIX:Q} PERL=${PERL5:Q} \
			CONFIGFILE=${PKG_SYSCONFDIR}/lg.conf
MAKE_FLAGS+=		MANDIR=${PREFIX}/${PKGMANDIR}/man8

USE_TOOLS+=		perl:run
REPLACE_PERL=		lg.pl

INSTALLATION_DIRS=	libexec/cgi-bin ${PKGMANDIR}/man8

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/lg ${DESTDIR}${PREFIX}/libexec/cgi-bin
	${INSTALL_MAN} ${WRKSRC}/lg.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8

.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>