# $OpenBSD: Makefile,v 1.28 2011/10/19 09:47:26 dcoppa Exp $ SHARED_ONLY= Yes COMMENT= ICB plugin for irssi DISTNAME= irssi-icb-0.14 REVISION= 8 MASTER_SITES= http://distfiles.nl/ CATEGORIES= net BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \ ${MODGNU_AUTOMAKE_DEPENDS} \ net/irssi:configure \ devel/glib2 RUN_DEPENDS= net/irssi # GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes # Needs AC_PROG_LIBTOOL USE_LIBTOOL = Yes BUILD_DEPENDS += devel/libtool LIBTOOL_FLAGS= --tag=disable-static CONFIGURE_STYLE= gnu AUTOCONF_VERSION=2.61 AUTOMAKE_VERSION=1.9 CONFIGURE_ARGS+= --with-irssi=${WRKDIR}/irssi-src AUTO_ENV= AUTOCONF_VERSION=${AUTOCONF_VERSION} \ AUTOMAKE_VERSION=${AUTOMAKE_VERSION} post-extract: @ln -sf ${WRKDIR}/net/irssi/irssi-* ${WRKDIR}/irssi-src pre-configure: cd ${WRKSRC} && ${AUTO_ENV} aclocal cd ${WRKSRC} && ${AUTO_ENV} automake\ --add-missing -f --foreign cd ${WRKSRC} && ${AUTO_ENV} autoconf post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/irssi ${INSTALL_DATA} ${WRKSRC}/README \ ${PREFIX}/share/doc/irssi/icb-plugin.txt .include