# $NetBSD: Makefile,v 1.20 2015/08/23 14:30:36 wiz Exp $
#

DISTNAME=	ScrollZ-2.2.3
PKGNAME=	${DISTNAME:tl}
PKGREVISION=	1
CATEGORIES=	chat
MASTER_SITES=	http://www.scrollz.info/download/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.scrollz.info/
COMMENT=	Advanced IRC client based on ircII client
LICENSE=	modified-bsd # XXX ?

MAKE_JOBS_SAFE=	no

GNU_CONFIGURE=	yes

SUBST_CLASSES+=		mandir
SUBST_FILES.mandir=	Makefile.in
SUBST_MESSAGE.mandir=	Fixing PKGMANDIR path.
SUBST_SED.mandir=	-e 's|@prefix@/share/man/man1|@mandir@/man1|1'
SUBST_STAGE.mandir=	pre-configure

.include "options.mk"

post-install:
		${CHMOD} -x ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/scrollz.1

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