summaryrefslogtreecommitdiff
path: root/net/ircII/Makefile
blob: c1e33da52abce982b192483fd63949636a654a46 (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
# $NetBSD: Makefile,v 1.14 1998/08/09 21:23:28 kim Exp $
# FreeBSD Id: Makefile,v 1.14 1997/05/14 10:35:13 torstenb Exp
#

DISTNAME=		ircii-4.4
PKGNAME=		ircII-4.4
WRKSRC=			${WRKDIR}/ircii-4.4
CATEGORIES=		net
MASTER_SITES=		ftp://ircii.warped.com/pub/ircII/

MAINTAINER=		mrg@eterna.com.au

GNU_CONFIGURE=		yes
#CONFIGURE_ARGS+=	--with-default-server=SERVER[:PORT]

PLIST_SRC=		${WRKDIR}/PLIST.tmp

pre-install:
	@(if [ "X${MANZ}" != X"" ]; then \
		GZSUFFIX=.gz; \
	fi; \
	${SED} -e 's|@.GZ@|'$$GZSUFFIX'|g' ${PKGDIR}/PLIST > ${PLIST_SRC})

post-install:
	@if [ "X${MANZ}" != X"" ]; then \
		${ECHO} Compressing help files; \
		find ${PREFIX}/share/irc/help -type f -print | xargs ${GZIP_CMD}; \
	fi

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