diff options
Diffstat (limited to 'net/ircII')
-rw-r--r-- | net/ircII/Makefile | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/net/ircII/Makefile b/net/ircII/Makefile index 71b6d852c90..33797a29478 100644 --- a/net/ircII/Makefile +++ b/net/ircII/Makefile @@ -3,7 +3,7 @@ # Date created: 18 Oct 1994 # Whom: torstenb # -# $NetBSD: Makefile,v 1.6 1997/12/11 09:59:04 hubertf Exp $ +# $NetBSD: Makefile,v 1.7 1998/02/15 10:31:46 frueauf Exp $ # FreeBSD Id: Makefile,v 1.14 1997/05/14 10:35:13 torstenb Exp # @@ -18,6 +18,34 @@ MAINTAINER= mrg@eterna.com.au GNU_CONFIGURE= yes #CONFIGURE_ARGS+= --with-default-server=SERVER[:PORT] -MAN1= ircII.1 ircbug.1 +MAN1= ircII.1 ircbug.1 + +# Include local make config file here. It is essential to have this +# precede any override targets (those that override defaults in +# <bsd.port.mk> that test variables that may be set here. Note that +# this inclusion is otherwise redundant, since <bsd.port.mk> includes +# <bsd.own.mk>, which includes it. + +OPSYS!= uname -s +.if (${OPSYS} == "FreeBSD") +.include "/etc/make.conf" +.else +.include "/etc/mk.conf" +.endif + +.if defined(MANZ) +DCOMPRESSUFFIX= .gz +.else +DCOMPRESSUFFIX= +.endif + +PLIST_SRC= ${WRKDIR}/PLIST.tmp + +pre-install: + sed "s,@.GZ@,${DCOMPRESSUFFIX}," ${PKGDIR}/PLIST \ + > ${PLIST_SRC} + +post-install: + find ${PREFIX}/lib/irc/help -type f -exec gzip -9 {} \; .include <bsd.port.mk> |