aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2013-05-01 18:06:30 +0000
committerJason Helfman <jgh@FreeBSD.org>2013-05-01 18:06:30 +0000
commit9e9db9565836e98333d48ee502cd3377ab8cd88f (patch)
tree11b6ea138789feed41f2ee8b9158737dbdc54057
parent8b0987c9970aa5a1a2e34de7519703857e750ffe (diff)
downloadports-9e9db9565836e98333d48ee502cd3377ab8cd88f.tar.gz
ports-9e9db9565836e98333d48ee502cd3377ab8cd88f.zip
Notes
-rw-r--r--net-im/amsn/Makefile8
-rw-r--r--net-im/centericq/Makefile91
-rw-r--r--net-im/centerim-devel/Makefile69
-rw-r--r--net-im/centerim/Makefile71
4 files changed, 110 insertions, 129 deletions
diff --git a/net-im/amsn/Makefile b/net-im/amsn/Makefile
index ebd6c28fd128..71a3092543bf 100644
--- a/net-im/amsn/Makefile
+++ b/net-im/amsn/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: amsn
-# Date created: 01 Feb 2003
-# Whom: Andreas Klemm <andreas@FreeBSD.org>
-#
+# Created by: Andreas Klemm <andreas@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= amsn
PORTVERSION= 0.98.9
@@ -30,7 +26,7 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_XORG= x11
-USE_GETTEXT= yes
+USES= gettext
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff --git a/net-im/centericq/Makefile b/net-im/centericq/Makefile
index 9a19def1f7cd..4fcdc247cca8 100644
--- a/net-im/centericq/Makefile
+++ b/net-im/centericq/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for: centericq
-# Date created: 25 December 1999
-# Whom: Chris Piazza <cpiazza@FreeBSD.org>
-#
+# Created by: Chris Piazza <cpiazza@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= centericq
PORTVERSION= 4.21.0
@@ -25,93 +20,95 @@ CXXFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lstdc++
CONFIGURE_ARGS= --with-openssl --disable-konst
-OPTIONS= NLS "Native Language Support" on \
- MULTIBYTE "Multibyte Support" off \
- FRIBIDI "Fribidi Support" off \
- MSN "Support for MSN Protocol" off \
- YAHOO "Support for Yahoo! Messenger Protocol" off \
- AIM "Support for AOL's Instant Messenger Protocol" off \
- IRC "Support for IRC Protocol" off \
- JABBER "Support for Jabber Protocol" off \
- GPGME "Support for PGP encrypted Jabber messages" on \
- RSS "Support for RSS" off \
- LJ "Support for LiveJournal" off \
- GG "Support for Gadu-Gadu Protocol" off
+OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
+FRIBIDI_DESC= Fribidi Support
+MSN_DESC= MSN Protocol
+YAHOO_DESC= Yahoo! Messenger Protocol
+AIM_DESC= AOL's Instant Messenger Protocol
+IRC_DESC= IRC Protocol
+GPGME_DESC= PGP encrypted Jabber messages
+RSS_DESC= RSS Support
+LJ_DESC= LiveJournal Support
+GG_DESC= Gadu-Gadu Protocol Support
+
+OPTIONS_DEFAULT= GPGME
MAN1= cicqconv.1 cicqsync.1
PORTDOCS= FAQ README
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 900007
-BROKEN= fails to build with new utmpx
-.endif
+.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
# Don't use optimization since it sefgaults in some cases otherwise.
CFLAGS:= ${CFLAGS:C/-O[0123456789]*/-O0/}
.endif
-.if defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
-.else
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
.endif
-.if defined(WITH_MULTIBYTE)
+.if ${PORT_OPTIONS:MMULTIBYTE}
CONFIGURE_ARGS+= --enable-locales-fix
.endif
-.if defined(WITH_FRIBIDI)
+.if ${PORT_OPTIONS:MFRIBIDI}
LIB_DEPENDS+= fribidi.3:${PORTSDIR}/converters/fribidi
CONFIGURE_ARGS+= --with-fribidi
.endif
-.if !defined(WITH_MSN)
-CONFIGURE_ARGS+= --disable-msn
-.else
+.if ${PORT_OPTIONS:MMSN}
LIB_DEPENDS+= curl.6:${PORTSDIR}/ftp/curl
+.else
+CONFIGURE_ARGS+= --disable-msn
.endif
-.if !defined(WITH_YAHOO)
+.if ! ${PORT_OPTIONS:MYAHOO}
CONFIGURE_ARGS+= --disable-yahoo
.endif
-.if !defined(WITH_AIM)
+.if ! ${PORT_OPTIONS:MAIM}
CONFIGURE_ARGS+= --disable-aim
.endif
-.if !defined(WITH_IRC)
+.if ! ${PORT_OPTIONS:MIRC}
CONFIGURE_ARGS+= --disable-irc
.endif
-.if !defined(WITH_JABBER)
+.if ! ${PORT_OPTIONS:MJABBER}
CONFIGURE_ARGS+= --disable-jabber
-.else
-.if !defined(WITH_GPGME)
-CONFIGURE_ARGS+= --without-gpgme
-.else
+.endif
+
+.if ${PORT_OPTIONS:MGPGME}
LIB_DEPENDS+= gpgme.19:${PORTSDIR}/security/gpgme
CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE}
-.endif
+.else
+CONFIGURE_ARGS+= --without-gpgme
.endif
-.if !defined(WITH_RSS)
+.if ! ${PORT_OPTIONS:MRSS}
CONFIGURE_ARGS+= --disable-rss
.endif
-.if !defined(WITH_LJ)
+.if ! ${PORT_OPTIONS:MLJ}
CONFIGURE_ARGS+= --disable-lj
.endif
-.if !defined(WITH_GG)
-CONFIGURE_ARGS+= --disable-gg
-.else
+.if ${PORT_OPTIONS:MGG}
LIB_DEPENDS+= gadu.3:${PORTSDIR}/polish/ekg
LIBGADU= -lgadu
+.else
+CONFIGURE_ARGS+= --disable-gg
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} > 900007
+BROKEN= fails to build with new utmpx
.endif
post-patch:
@@ -129,7 +126,7 @@ post-patch:
-e 's|libgadu-0.1||' \
-e 's|-llibgadu|${LIBGADU}|'
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
diff --git a/net-im/centerim-devel/Makefile b/net-im/centerim-devel/Makefile
index 888513ec7cee..19353cd278c1 100644
--- a/net-im/centerim-devel/Makefile
+++ b/net-im/centerim-devel/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for: centerim
-# Date created: 2006-03-14
-# Whom: Frank Altpeter <frank@altpeter.de>
-#
+# Created by: Frank Altpeter <frank@altpeter.de>
# $FreeBSD$
-#
PORTNAME= centerim
PORTVERSION= 4.22.10.11
@@ -14,7 +9,7 @@ MASTER_SITES= http://www.centerim.org/download/mobshots/ \
PKGNAMESUFFIX= -devel
MAINTAINER= frank@altpeter.de
-COMMENT= A text mode menu- and window-driven IM interface
+COMMENT= Text mode menu- and window-driven IM interface
LICENSE= GPLv2
@@ -29,64 +24,64 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-ssl --with-openssl
CONFLICTS= centericq-[0-9]* centerim-[0-9]*
-OPTIONS= NLS "Native Language Support" on \
- MULTIBYTE "Multibyte Support" on \
- FRIBIDI "Fribidi Support" on \
- MSN "Support for MSN Protocol" on \
- YAHOO "Support for Yahoo! Messenger Protocol" on \
- AIM "Support for AOL's Instant Messenger Protocol" on \
- IRC "Support for IRC Protocol" on \
- JABBER "Support for Jabber Protocol" on \
- GPGME "Support for PGP encrypted Jabber messages" on \
- RSS "Support for RSS" on \
- LJ "Support for LiveJournal" on \
- GG "Support for Gadu-Gadu Protocol" on
+OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
+FRIBIDI_DESC= Fribidi Support
+MSN_DESC= MSN Protocol
+YAHOO_DESC= Yahoo! Messenger Protocol
+AIM_DESC= AOL's Instant Messenger Protocol
+IRC_DESC= IRC Protocol
+GPGME_DESC= PGP encrypted Jabber messages
+RSS_DESC= RSS Support
+LJ_DESC= LiveJournal Support
+GG_DESC= Gadu-Gadu Protocol Support
+
+OPTIONS_DEFAULT= MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
MAN1= cimconv.1 centerim.1
PORTDOCS= FAQ README
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
-.else
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
.endif
-.if defined(WITH_MULTIBYTE)
+.if ${PORT_OPTIONS:MMULTIBYTE}
CONFIGURE_ARGS+= --enable-locales-fix
.endif
-.if defined(WITH_FRIBIDI)
+.if ${PORT_OPTIONS:MFRIBIDI}
LIB_DEPENDS+= fribidi.3:${PORTSDIR}/converters/fribidi
CONFIGURE_ARGS+= --with-fribidi
.endif
-.if !defined(WITH_MSN)
+.if ! ${PORT_OPTIONS:MMSN}
CONFIGURE_ARGS+= --disable-msn
.endif
-.if !defined(WITH_YAHOO)
+.if ! ${PORT_OPTIONS:MYAHOO}
CONFIGURE_ARGS+= --disable-yahoo
.endif
-.if !defined(WITH_AIM)
+.if ! ${PORT_OPTIONS:MAIM}
CONFIGURE_ARGS+= --disable-aim
.endif
-.if !defined(WITH_IRC)
+.if ! ${PORT_OPTIONS:MIRC}
CONFIGURE_ARGS+= --disable-irc
.endif
-.if !defined(WITH_JABBER)
+.if ! ${PORT_OPTIONS:MJABBER}
CONFIGURE_ARGS+= --disable-jabber
.else
.endif
-.if !defined(WITH_GPGME)
+.if ! ${PORT_OPTIONS:MGPGME}
CONFIGURE_ARGS+= --without-gpgme
.else
LIB_DEPENDS+= gpgme.19:${PORTSDIR}/security/gpgme
@@ -94,15 +89,15 @@ LIB_DEPENDS+= gpgme.19:${PORTSDIR}/security/gpgme
CONFIGURE_ARGS+= --with-ssl
.endif
-.if !defined(WITH_RSS)
+.if ! ${PORT_OPTIONS:MRSS}
CONFIGURE_ARGS+= --disable-rss
.endif
-.if !defined(WITH_LJ)
+.if ! ${PORT_OPTIONS:MLJ}
CONFIGURE_ARGS+= --disable-lj
.endif
-.if !defined(WITH_GG)
+.if ! ${PORT_OPTIONS:MGG}
CONFIGURE_ARGS+= --disable-gg
.else
LIB_DEPENDS+= gadu.3:${PORTSDIR}/polish/ekg
@@ -113,10 +108,10 @@ post-patch:
@${REINPLACE_CMD} -e 's|/var/run/screen|/tmp/screens|' \
${WRKSRC}/src/icqconf.cc
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/net-im/centerim/Makefile b/net-im/centerim/Makefile
index 15a88be10107..67bb0fade0cc 100644
--- a/net-im/centerim/Makefile
+++ b/net-im/centerim/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# New ports collection makefile for: centerim
-# Date created: 2006-03-14
-# Whom: Frank Altpeter <frank@altpeter.de>
-#
+# Created by: Frank Altpeter <frank@altpeter.de>
# $FreeBSD$
-#
PORTNAME= centerim
PORTVERSION= 4.22.10
@@ -13,7 +8,7 @@ MASTER_SITES= http://www.centerim.org/download/releases/ \
ftp://ftp.centerim.org/releases/
MAINTAINER= frank@altpeter.de
-COMMENT= A text mode menu- and window-driven IM interface
+COMMENT= Text mode menu- and window-driven IM interface
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
@@ -27,80 +22,78 @@ CONFIGURE_ARGS= --with-ssl --with-openssl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CONFLICTS= centericq-[0-9]* centerim-devel-[0-9]*
-OPTIONS= NLS "Native Language Support" on \
- MULTIBYTE "Multibyte Support" off \
- FRIBIDI "Fribidi Support" off \
- MSN "Support for MSN Protocol" off \
- YAHOO "Support for Yahoo! Messenger Protocol" off \
- AIM "Support for AOL's Instant Messenger Protocol" off \
- IRC "Support for IRC Protocol" off \
- JABBER "Support for Jabber Protocol" off \
- GPGME "Support for PGP encrypted Jabber messages" off \
- RSS "Support for RSS" off \
- LJ "Support for LiveJournal" off \
- GG "Support for Gadu-Gadu Protocol" off
+OPTIONS_DEFINE= NLS MULTIBYTE FRIBIDI MSN YAHOO AIM IRC JABBER GPGME RSS LJ GG
+FRIBIDI_DESC= Fribidi Support
+MSN_DESC= MSN Protocol
+YAHOO_DESC= Yahoo! Messenger Protocol
+AIM_DESC= AOL's Instant Messenger Protocol
+IRC_DESC= IRC Protocol
+GPGME_DESC= PGP encrypted Jabber messages
+RSS_DESC= RSS Support
+LJ_DESC= LiveJournal Support
+GG_DESC= Gadu-Gadu Protocol Support
MAN1= cimconv.1 centerim.1
PORTDOCS= FAQ README
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
+USES+= gettext
+PLIST_SUB+= NLS=""
+.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
-.else
-USE_GETTEXT= yes
-PLIST_SUB+= NLS=""
.endif
-.if defined(WITH_MULTIBYTE)
+.if ${PORT_OPTIONS:MMULTIBYTE}
CONFIGURE_ARGS+= --enable-locales-fix
.endif
-.if defined(WITH_FRIBIDI)
+.if ${PORT_OPTIONS:MFRIBIDI}
LIB_DEPENDS+= fribidi.3:${PORTSDIR}/converters/fribidi
CONFIGURE_ARGS+= --with-fribidi
.endif
-.if !defined(WITH_MSN)
+.if ! ${PORT_OPTIONS:MMSN}
CONFIGURE_ARGS+= --disable-msn
.endif
-.if !defined(WITH_YAHOO)
+.if ! ${PORT_OPTIONS:MYAHOO}
CONFIGURE_ARGS+= --disable-yahoo
.endif
-.if !defined(WITH_AIM)
+.if ! ${PORT_OPTIONS:MAIM}
CONFIGURE_ARGS+= --disable-aim
.endif
-.if !defined(WITH_IRC)
+.if ! ${PORT_OPTIONS:MIRC}
CONFIGURE_ARGS+= --disable-irc
.endif
-.if !defined(WITH_JABBER)
+.if ! ${PORT_OPTIONS:MJABBER}
CONFIGURE_ARGS+= --disable-jabber
.else
.endif
-.if !defined(WITH_GPGME)
-CONFIGURE_ARGS+= --without-gpgme
-.else
+.if ${PORT_OPTIONS:MGPGME}
LIB_DEPENDS+= gpgme.19:${PORTSDIR}/security/gpgme
#CONFIGURE_ARGS+= --with-gpgme=${LOCALBASE}
CONFIGURE_ARGS+= --with-ssl
+.else
+CONFIGURE_ARGS+= --without-gpgme
.endif
-.if !defined(WITH_RSS)
+.if ! ${PORT_OPTIONS:MRSS}
CONFIGURE_ARGS+= --disable-rss
.endif
-.if !defined(WITH_LJ)
+.if ! ${PORT_OPTIONS:MLJ}
CONFIGURE_ARGS+= --disable-lj
.endif
-.if !defined(WITH_GG)
+.if ! ${PORT_OPTIONS:MGG}
CONFIGURE_ARGS+= --disable-gg
.else
LIB_DEPENDS+= gadu.3:${PORTSDIR}/polish/ekg
@@ -111,10 +104,10 @@ post-patch:
@${REINPLACE_CMD} -e '1 s|/usr/bin/python|/usr/bin/env python|' \
${WRKSRC}/misc/CenterIMLog2HTML.py
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>