openbsd-ports/net/irssi-silc/Makefile

61 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2008/03/31 03:32:33 merdely Exp $
SHARED_ONLY= Yes
COMMENT= SILC plugin for irssi
VERSION= 1.1.4
DISTNAME= silc-client-${VERSION}
PKGNAME= irssi-silc-${VERSION}
CATEGORIES= net
HOMEPAGE= http://penguin-breeder.org/silc/
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://ftp.silcnet.org/client/sources/ \
ftp://ftp.silcnet.org/silc/client/sources/ \
http://www.planetmirror.com/pub/silcnet/client/sources/ \
http://munitions.vipul.net/software/mirrors/silc/client/sources/ \
ftp://ftp.no.silcnet.org/pub/silc/client/sources/ \
http://the.wiretapped.net/security/network-security/silc/client/sources/ \
ftp://ftp.wiretapped.net/pub/security/network-security/silc/client/sources/
BUILD_DEPENDS= ::devel/gettext \
::devel/glib2
RUN_DEPENDS= ::net/irssi
MAKE_FLAGS= libfe_common_silc_la_LDFLAGS=-avoid-version \
libsilc_core_la_LDFLAGS=-avoid-version
USE_LIBTOOL= Yes
LIBTOOL_FLAGS+= --tag=disable-static
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION= 2.61
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/irssi/silc \
--enable-ipv6 \
--with-iconv=${LOCALBASE} \
--with-perl \
--with-perl-lib=${PREFIX}/libdata/perl5/site_perl \
--with-pic \
--with-silc-plugin=${PREFIX}/lib/irssi \
--without-libtoolfix
.if ${MACHINE_ARCH} != "i386"
CONFIGURE_ARGS+= --disable-asm
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/irssi
mv -f ${PREFIX}/share/irssi/scripts ${PREFIX}/share/examples/irssi/
mv -f ${PREFIX}/share/irssi/themes ${PREFIX}/share/examples/irssi/
.include <bsd.port.mk>