summaryrefslogtreecommitdiff
path: root/chat/p5-Net-AOLIM/Makefile
blob: cd2853699724c28a2a8887a38de84bef013c5d80 (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
30
31
32
# $NetBSD: Makefile,v 1.24 2014/05/29 23:35:19 wiz Exp $

DISTNAME=	Net-AOLIM-1.61
PKGNAME=	p5-${DISTNAME}
PKGREVISION=	6
CATEGORIES=	chat perl5
MASTER_SITES=	${HOMEPAGE}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.phonon.net/pub/Net-AOLIM/
COMMENT=	Perl5 module for connecting to AOL IM (TOC protocol)
LICENSE=	${PERL5_LICENSE}

WRKSRC=		${WRKDIR}/Net-AOLIM
PERL5_PACKLIST=	auto/Net/AOLIM/.packlist
REPLACE_PERL+=	AOLIM-example.pl

INSTALLATION_DIRS=	${PKGMANDIR}/man7

SUBST_CLASSES+=		paths
SUBST_FILES.paths=	MANIFEST
SUBST_SED.paths=	-e 's,^example\.pl,AOLIM-example.pl,g'
SUBST_STAGE.paths=	pre-configure

pre-configure:
	${MV} ${WRKSRC}/example.pl ${WRKSRC}/AOLIM-example.pl

post-install:
	${INSTALL_MAN} ${WRKSRC}/TOC.7 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man7

.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"