summaryrefslogtreecommitdiffstats
path: root/net/simicq/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-11-04 21:03:08 +0000
committerkrion <krion@FreeBSD.org>2003-11-04 21:03:08 +0000
commit2b2d319629822b3602ac83137174c4e031b4c2e8 (patch)
tree4d0e29766dfe95d9c8980b0c6233d50ff50dc6c5 /net/simicq/Makefile
parentc4c604622fbbc2fac59a8207805f8259a0677e49 (diff)
downloadFreeBSD-ports-2b2d319629822b3602ac83137174c4e031b4c2e8.zip
FreeBSD-ports-2b2d319629822b3602ac83137174c4e031b4c2e8.tar.gz
- Update to version 0.9
- Simicq is now a multi protocol messenger. Supported protocols are: * Oscar - ICQ and AIM support * Jabber * MSN PR: 58931 Submitted by: Markus Brueffer <brueffer@phoenix-systems.de> (maintainer)
Diffstat (limited to 'net/simicq/Makefile')
-rw-r--r--net/simicq/Makefile38
1 files changed, 27 insertions, 11 deletions
diff --git a/net/simicq/Makefile b/net/simicq/Makefile
index 319b14c..a241780 100644
--- a/net/simicq/Makefile
+++ b/net/simicq/Makefile
@@ -5,39 +5,55 @@
# $FreeBSD$
PORTNAME= simicq
-PORTVERSION= 0.8.3
+PORTVERSION= 0.9
CATEGORIES= net kde
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/mi/m-i/}
DISTNAME= ${PORTNAME:S/icq//}-${PORTVERSION}
MAINTAINER= brueffer@phoenix-systems.de
-COMMENT= ICQ client which supports Version 8 of the ICQ protocol (ICQ 2001)
+COMMENT= Plugin-based instant messenger
USE_GMAKE= yes
USE_QT_VER= 3
USE_PERL5_BUILD= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+INSTALLS_SHLIB= yes
+
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SSL)
USE_OPENSSL= yes
+PLIST_SUB+= SSL=""
.else
CONFIGURE_ARGS+=--disable-openssl
+PLIST_SUB+= SSL="@comment "
.endif
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
.if defined(WITHOUT_KDE)
-CONFIGURE_ARGS+= --disable-kde --enable-mt
+CONFIGURE_ARGS+=--disable-kde --enable-mt
+PLIST_SUB+= KDE="@comment "
.else
-USE_KDELIBS_VER= 3
+USE_KDELIBS_VER=3
+PLIST_SUB+= KDE=""
.endif
-post-patch:
-.if defined(WITHOUT_KDE)
- ${REINPLACE_CMD} -e "s,qtlib=\"qt\",qtlib=\"qt-mt -pthread\"," \
- ${WRKSRC}/configure
+pre-everything::
+.if !defined(WITHOUT_SSL)
+ @${ECHO_MSG} "You can disable SSL support by defining WITHOUT_SSL."
+.endif
+.if !defined(WITHOUT_KDE)
+ @${ECHO_MSG} "You can disable KDE support by defining WITHOUT_KDE."
.endif
- ${REINPLACE_CMD} -e 's/-O2//g' ${CONFIGURE_WRKSRC}/configure
-.include <bsd.port.mk>
+post-extract:
+ @${TOUCH} ${WRKSRC}/plugins/splash/Makefile.in
+
+post-patch:
+ @${REINPLACE_CMD} -e 's/-O2//g; s/-lpthread/${PTHREAD_LIBS}/g' \
+ ${CONFIGURE_WRKSRC}/configure
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud