dc9594e09d
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
38 lines
943 B
Makefile
38 lines
943 B
Makefile
# $NetBSD: Makefile,v 1.42 2005/12/29 06:21:33 jlam Exp $
|
|
|
|
DISTNAME= ${IRSSI_DISTNAME}
|
|
PKGREVISION= 7
|
|
CATEGORIES= chat
|
|
MASTER_SITES= http://real.irssi.org/files/
|
|
EXTRACT_SUFX= ${IRSSI_EXTRACT_SUFX}
|
|
|
|
MAINTAINER= mutru@iki.fi
|
|
HOMEPAGE= http://www.irssi.org/
|
|
COMMENT= Secure and modular IRC client with text mode user interface
|
|
|
|
.include "Makefile.common"
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
CONFIGURE_ARGS+= --with-terminfo \
|
|
--with-proxy \
|
|
--without-ncurses \
|
|
--sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
# Avoid an ICE in gcc2 on sparc64
|
|
CONFIGURE_ENV+= F77=${FALSE:Q}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/irssi
|
|
CONF_FILES= ${EGDIR}/irssi.conf ${PKG_SYSCONFDIR}/irssi.conf
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/config.h ${IRSSI_CONFIG_H}
|
|
${INSTALL_DATA} ${WRKSRC}/irssi-config ${IRSSI_CONFIG}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|