mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
7001c025d0
commit. (Of course I have to fix all his stuff anyway. ;-) First diff submitted by: jim (MAINATAINER) Gmake-related crap fixed by: will (the added patch)
63 lines
1.3 KiB
Makefile
63 lines
1.3 KiB
Makefile
# New ports collection makefile for: irssi
|
|
# Date created: 14 Apr 1999
|
|
# Whom: Jim Mock <jim@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= irssi
|
|
PORTVERSION= 0.7.28-3
|
|
CATEGORIES= irc ipv6
|
|
MASTER_SITES= http://xlife.dhs.org/irssi/files/
|
|
|
|
MAINTAINER= jim@FreeBSD.org
|
|
|
|
LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
|
|
PropList.2:${PORTSDIR}/devel/libPropList
|
|
.if defined(WITH_GNOME)
|
|
LIB_DEPENDS+= gnome.3:${PORTSDIR}/x11/gnomelibs
|
|
.endif
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME}
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_PERL5= yes
|
|
USE_X_PREFIX= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --without-pthreads --without-socks --with-textui \
|
|
--with-proplist=${LOCALBASE} --without-servertest \
|
|
--disable-nls
|
|
|
|
.if defined(WITH_GNOME)
|
|
PLIST= ${PKGDIR}/PLIST.gnome
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 400014
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-ipv6
|
|
.endif
|
|
|
|
.if defined(WITH_GNOME)
|
|
CONFIGURE_ARGS+= --with-gnome
|
|
.if defined(WITH_PANEL)
|
|
CONFIGURE_ARGS+= --with-gnome-panel
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gnome-panel
|
|
.endif
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gnome
|
|
.endif
|
|
|
|
CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \
|
|
GLIB_CONFIG="${GLIB_CONFIG}"
|
|
|
|
.include <bsd.port.post.mk>
|