summaryrefslogtreecommitdiff
path: root/chat/iroffer/Makefile
blob: f23b618852d47aee1fc4f335111b14d53f9ffc31 (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
33
34
35
36
# $NetBSD: Makefile,v 1.7 2008/03/03 02:19:51 jlam Exp $
#

DISTNAME=	iroffer1.3.b11
PKGNAME=	iroffer-1.3.11
CATEGORIES=	chat net
MASTER_SITES=	http://iroffer.org/archive/v1.3/
EXTRACT_SUFX=	.tgz

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://iroffer.org/
COMMENT=	IRC (Internet Relay Chat) DCC OfferBot

PKG_DESTDIR_SUPPORT=	user-destdir

INSTALLATION_DIRS=	bin

HAS_CONFIGURE=		yes
CONFIGURE_SCRIPT=	./Configure

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/iroffer ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/iroffer
	${INSTALL_DATA} ${WRKSRC}/COPYING \
		${DESTDIR}${PREFIX}/share/doc/iroffer/COPYING
	${INSTALL_DATA} ${WRKSRC}/README \
		${DESTDIR}${PREFIX}/share/doc/iroffer/README
	${INSTALL_DATA} ${WRKSRC}/WHATSNEW \
		${DESTDIR}${PREFIX}/share/doc/iroffer/WHATSNEW
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/iroffer
	${INSTALL_DATA} ${WRKSRC}/sample.config \
		${DESTDIR}${PREFIX}/share/examples/iroffer/sample.config
	${INSTALL_DATA} ${WRKSRC}/iroffer.cron \
		${DESTDIR}${PREFIX}/share/examples/iroffer/iroffer.cron

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