2001-11-21 02:27:25 -05:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: ickle
|
|
|
|
# Date created: Nov 21, 2001
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ickle
|
2002-08-07 18:40:00 -04:00
|
|
|
PORTVERSION= 0.3.2
|
2001-11-21 02:27:25 -05:00
|
|
|
CATEGORIES= net devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2002-08-07 18:44:08 -04:00
|
|
|
MAINTAINER= lioux@FreeBSD.org
|
2001-11-21 02:27:25 -05:00
|
|
|
|
2002-04-28 22:03:13 -04:00
|
|
|
LIB_DEPENDS= gtkmm:${PORTSDIR}/x11-toolkits/gtk-- \
|
|
|
|
iconv.3:${PORTSDIR}/converters/libiconv \
|
2002-08-07 18:40:00 -04:00
|
|
|
icq2000.5:${PORTSDIR}/net/libicq2000
|
2001-11-21 02:27:25 -05:00
|
|
|
|
2002-08-08 12:40:27 -04:00
|
|
|
USE_X_PREFIX= yes
|
2002-09-02 21:06:26 -04:00
|
|
|
USE_GNOMENG= yes
|
|
|
|
USE_GNOME= gtk12
|
2001-12-25 19:22:07 -05:00
|
|
|
WANT_GNOME= yes
|
2002-08-08 09:16:32 -04:00
|
|
|
USE_REINPLACE= yes
|
2001-11-21 02:27:25 -05:00
|
|
|
GNU_CONFIGURE= yes
|
2001-11-22 22:34:39 -05:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
2001-11-21 02:27:25 -05:00
|
|
|
CONFIGURE_ARGS= --with-sigc-prefix=${LOCALBASE} \
|
|
|
|
--with-gtkmm-prefix=${X11BASE}
|
2002-08-08 09:16:32 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="`${LOCALBASE}/bin/sigc-config --cflags`"
|
2001-11-21 02:27:25 -05:00
|
|
|
|
2002-04-28 22:03:13 -04:00
|
|
|
post-patch:
|
2002-08-08 09:16:32 -04:00
|
|
|
@${REINPLACE_CMD} -E -e 's|(gtkmm_config_args[[:space:]]*=).+$$|\1|' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
2002-04-28 22:03:13 -04:00
|
|
|
|
2001-12-25 19:22:07 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-09-02 21:06:26 -04:00
|
|
|
.if ${HAVE_GNOME:Mlibcapplet}!="" || defined(WITH_GNOME)
|
|
|
|
USE_GNOME+= libcapplet
|
|
|
|
PKGNAMESUFFIX= -gnome
|
2001-12-25 19:22:07 -05:00
|
|
|
PLIST_SUB+= ICKLEDATADIR="share/gnome/" GNOME="" NOGNOME="@comment "
|
|
|
|
.else
|
2002-01-07 19:58:20 -05:00
|
|
|
CONFIGURE_ARGS+= --with-gnome=no
|
2001-12-25 19:22:07 -05:00
|
|
|
|
|
|
|
PLIST_SUB+= ICKLEDATADIR="share/" GNOME="@comment " NOGNOME=""
|
|
|
|
.endif
|
|
|
|
|
2002-04-28 22:03:13 -04:00
|
|
|
.if defined(WITH_ICKLE_CONTROL)
|
|
|
|
PLIST_SUB+= ICKLECONTROL=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ickle-control
|
|
|
|
|
|
|
|
PLIST_SUB+= ICKLECONTROL="@comment "
|
|
|
|
.endif
|
|
|
|
|
2001-12-25 19:22:07 -05:00
|
|
|
pre-everything::
|
2002-09-02 21:06:26 -04:00
|
|
|
.if ${HAVE_GNOME:Mlibcapplet}=="" && !defined(WITH_GNOME)
|
2001-12-25 19:22:07 -05:00
|
|
|
@${ECHO_MSG} "===> Define WITH_GNOME to enable GNOME support"
|
|
|
|
.endif
|
2002-04-28 22:03:13 -04:00
|
|
|
.if !defined(WITH_ICKLE_CONTROL)
|
|
|
|
@${ECHO_MSG} "===> Define WITH_ICKLE_CONTROL to enable external command-line"
|
|
|
|
@${ECHO_MSG} "===> control for the ickle client"
|
|
|
|
.endif
|
2001-12-25 19:22:07 -05:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|