openbsd-ports/net/irssi/Makefile
naddy 6807d1bedd Don't attempt to build perl ports that load dynamic modules
on architectures that support static linking only.
2004-01-17 15:58:06 +00:00

57 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2004/01/17 15:58:09 naddy Exp $
# Original from: Timo Sirainen <tss@iki.fi>
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "modular IRC client with many features (ipv6,socks,proxy)"
DISTNAME= irssi-0.8.9
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE}/files/ \
http://nl.irssi.org/files/ \
http://fi.irssi.org/files/ \
http://no.irssi.org/files/ \
http://de.irssi.org/files/ \
http://uk.irssi.org/files/ \
http://pl.irssi.org/files/ \
http://us.irssi.org/files/
HOMEPAGE= http://www.irssi.org/
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS+= glib-2.0.0.0,gmodule-2.0.0.0::devel/glib2
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc --enable-ipv6 \
--with-proxy --enable-perl=yes --with-included-gettext \
--with-perl-lib=${PREFIX}/libdata/perl5/site_perl
FLAVORS= socks
FLAVOR?=
.if ${FLAVOR:L:Msocks}
CONFIGURE_ARGS+= --with-socks
BUILD_DEPENDS+= ::security/dante
.endif
SAMPLE= default.theme colorless.theme
pre-configure:
@perl -pi -e 's,doc/irssi,irssi,g' ${WRKSRC}/docs/Makefile.in
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/irssi
cd ${WRKDIST} && ${INSTALL_DATA} ${SAMPLE} \
${PREFIX}/share/examples/irssi
.include <bsd.port.mk>