2015-01-22 10:18:43 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2015/01/22 15:18:43 naddy Exp $
|
2007-03-22 15:55:38 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-11-18 12:36:18 -05:00
|
|
|
COMMENT= SILC plugin for irssi
|
|
|
|
|
2009-08-03 17:29:47 -04:00
|
|
|
DISTNAME= irssi-silc-1.1.8
|
2014-06-14 06:34:44 -04:00
|
|
|
REVISION= 5
|
2007-03-22 15:55:38 -04:00
|
|
|
|
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
HOMEPAGE= http://penguin-breeder.org/silc/
|
|
|
|
|
|
|
|
MAINTAINER= Martynas Venckus <martynas@openbsd.org>
|
|
|
|
|
2008-09-08 12:31:47 -04:00
|
|
|
# GPLv2
|
2007-03-22 15:55:38 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2009-08-03 17:29:47 -04:00
|
|
|
MASTER_SITES= http://martynas.blarzwurst.de/distfiles/
|
2007-03-22 15:55:38 -04:00
|
|
|
|
2010-11-19 17:31:32 -05:00
|
|
|
BUILD_DEPENDS= devel/gettext \
|
|
|
|
devel/glib2
|
2008-09-08 12:31:47 -04:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
2010-11-19 17:31:32 -05:00
|
|
|
BUILD_DEPENDS+= devel/yasm
|
2008-09-08 12:31:47 -04:00
|
|
|
.endif
|
2010-11-19 17:31:32 -05:00
|
|
|
RUN_DEPENDS= net/irssi>=0.8.15
|
2007-03-22 15:55:38 -04:00
|
|
|
|
2007-11-18 12:36:18 -05:00
|
|
|
MAKE_FLAGS= libfe_common_silc_la_LDFLAGS=-avoid-version \
|
|
|
|
libsilc_core_la_LDFLAGS=-avoid-version
|
2007-03-22 15:55:38 -04:00
|
|
|
|
2007-11-18 12:36:18 -05:00
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
|
|
|
CONFIGURE_STYLE= autoconf
|
2010-07-31 08:43:25 -04:00
|
|
|
AUTOCONF_VERSION= 2.63
|
2008-09-08 12:31:47 -04:00
|
|
|
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_NASM=no YASM=${LOCALBASE}/bin/yasm
|
|
|
|
.endif
|
2007-11-18 12:36:18 -05:00
|
|
|
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/irssi/silc \
|
2007-03-22 15:55:38 -04:00
|
|
|
--enable-ipv6 \
|
2009-01-10 21:05:54 -05:00
|
|
|
--enable-shared=no \
|
2007-03-22 15:55:38 -04:00
|
|
|
--with-iconv=${LOCALBASE} \
|
2007-11-18 12:36:18 -05:00
|
|
|
--with-perl \
|
|
|
|
--with-perl-lib=${PREFIX}/libdata/perl5/site_perl \
|
|
|
|
--with-pic \
|
2009-01-10 21:05:54 -05:00
|
|
|
--with-silc-plugin=${PREFIX}/lib/irssi
|
2007-03-22 15:55:38 -04:00
|
|
|
|
2008-09-08 12:31:47 -04:00
|
|
|
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "i386"
|
2007-11-18 12:36:18 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-asm
|
2007-03-22 15:55:38 -04:00
|
|
|
.endif
|
|
|
|
|
2007-11-18 12:36:18 -05:00
|
|
|
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/
|
2007-03-22 15:55:38 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|