summaryrefslogtreecommitdiff
path: root/net/pfnet/Makefile
blob: c2dcfd556f398bb5bd447ac0467794813a0ff9c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.15 2012/10/03 21:57:09 wiz Exp $
#

DISTNAME=	fnet.pl-1.4
PKGNAME=	pfnet-1.4
PKGREVISION=	2
CATEGORIES=	chat net
MASTER_SITES=	${MASTER_SITE_LOCAL}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://web.archive.org/web/20021123084932/http://www.abattoir.com/~banshee/Tech/
COMMENT=	Minimal FNET-like ICB client written in Perl

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/fnet-1.4
USE_TOOLS+=	perl:run

INSTALLATION_DIRS=	bin ${PERL5_INSTALLVENDORLIB}

do-build:
	${SED} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/fnet.pl >${WRKSRC}/pfnet

do-install:
	${INSTALL_DATA} ${WRKSRC}/CMDLINE.pm ${WRKSRC}/FNET.pm		\
		${DESTDIR}${PERL5_INSTALLVENDORLIB}
	${INSTALL_SCRIPT} ${WRKSRC}/pfnet ${DESTDIR}${PREFIX}/bin

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