967ada0994
While here, improve WRKSRC to avoid ".." in patches and paths, build man page during build and not during install step, and set LICENSE.
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.32 2013/06/12 12:11:48 wiz Exp $
|
|
|
|
DISTNAME= vicq-0.4.1
|
|
PKGREVISION= 8
|
|
CATEGORIES= chat
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://gonzo.kiev.ua/projects/vicq.old/
|
|
COMMENT= Simple icq client written in perl
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= p5-Term-ReadLine>=1.11:../../devel/p5-Term-ReadLine
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
WRKSRC= ${WRKDIR}/vicq
|
|
CONFIGURE_DIRS= Net/vICQ
|
|
TEST_TARGET= # disabled
|
|
|
|
REPLACE_PERL= vicq
|
|
PERL5_PACKLIST= auto/Net/vICQ/.packlist
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/vicq
|
|
|
|
post-build:
|
|
${PREFIX}/bin/pod2man ${WRKSRC}/vicq --section=1 \
|
|
--release="vICQ ${DISTNAME:C/.*-//}" \
|
|
--center="vICQ manual page" > ${WRKSRC}/vicq.1
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/vicq ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/vicqrc.example ${DESTDIR}${PREFIX}/share/examples/vicq
|
|
${INSTALL_DATA} ${WRKSRC}/vicq.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|