openbsd-ports/net/ircII/Makefile

43 lines
1023 B
Makefile

# $OpenBSD: Makefile,v 1.28 2005/01/21 16:03:14 naddy Exp $
COMMENT= "Internet Relay Chat client"
VERSION= 20040820
DISTNAME= ircii-${VERSION}
PKGNAME= ircII-${VERSION}
CATEGORIES= net
EXTRACT_SUFX= .tar.bz2
MAINTAINER= Brad Smith <brad@openbsd.org>
HOMEPAGE= http://www.eterna.com.au/ircii/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c termcap
MASTER_SITES= ftp://ftp.warped.com/pub/ircII/ \
ftp://ircftp.au.eterna.com.au/pub/ircII/ \
ftp://ftp.warped.com/pub/ircII/old/ \
ftp://ircftp.au.eterna.com.au/pub/ircII/old/
SUBST_VARS= VERSION
FAKE_FLAGS= DESTDIR="${WRKINST}" INSTALL_IRC_NAME="ircII" \
INSTALL="${INSTALL_PROGRAM}" INSTALL_DATA="${INSTALL_DATA}"
SEPARATE_BUILD= simple
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --enable-ipv6 --exec-prefix="${PREFIX}"
CONFIGURE_ENV+= IRCLIB='$$(DESTDIR)${PREFIX}/share/ircII'
NO_REGRESS= Yes
post-install:
@mv ${PREFIX}/bin/ircII-${VERSION} ${PREFIX}/bin/ircII
.include <bsd.port.mk>