diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-03-29 14:08:24 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-03-29 14:08:24 +0000 |
commit | 8d9d2a01c1253f4a3fd853fdd7ae4e60f0c6c868 (patch) | |
tree | 83d0039ad1b37f293503accef2334bbc44afcaae /net-im | |
parent | b2f3361b5c7fc8d39bcaee71c8d52cf734721a78 (diff) | |
download | ports-8d9d2a01c1253f4a3fd853fdd7ae4e60f0c6c868.tar.gz ports-8d9d2a01c1253f4a3fd853fdd7ae4e60f0c6c868.zip |
Notes
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/mcabber/Makefile | 56 | ||||
-rw-r--r-- | net-im/mcabber/pkg-plist | 1 |
2 files changed, 17 insertions, 40 deletions
diff --git a/net-im/mcabber/Makefile b/net-im/mcabber/Makefile index 770a049741fc..d6560018df05 100644 --- a/net-im/mcabber/Makefile +++ b/net-im/mcabber/Makefile @@ -9,7 +9,7 @@ MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/ CENKES MAINTAINER= dhn@FreeBSD.org COMMENT= Small Jabber console client -LIB_DEPENDS= loudmouth:${PORTSDIR}/net-im/loudmouth +LIB_DEPENDS= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth LICENSE= GPLv2 @@ -22,48 +22,24 @@ USES= pkgconfig gettext iconv ncurses USE_LDCONFIG= yes USE_GNOME= glib20 -MAN1= mcabber.1 - OPTIONS_DEFINE= GPGME OTR OPTIONS_RADIO= SPELL OPTIONS_RADIO_SPELL= ASPELL ENCHANT +OPTIONS_SUB= yes + GPGME_DESC= Use security/gpgme for PGP support OTR_DESC= Off-the-record messaging support ENCHANT_DESC= Spell checking via enchant -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MGPGME} -LIB_DEPENDS+= libgpgme.so:${PORTSDIR}/security/gpgme -CONFIGURE_ARGS+=--enable-gpgme -.else -CONFIGURE_ARGS+=--disable-gpgme -.endif - -.if ${PORT_OPTIONS:MASPELL} -LIB_DEPENDS+= aspell.16:${PORTSDIR}/textproc/aspell -CONFIGURE_ARGS+=--enable-aspell -.else -CONFIGURE_ARGS+=--disable-aspell -.endif - -.if ${PORT_OPTIONS:MENCHANT} -LIB_DEPENDS+= enchant.1:${PORTSDIR}/textproc/enchant -CONFIGURE_ARGS+=--enable-enchant -.else -CONFIGURE_ARGS+=--disable-enchant -.endif - -.if ${PORT_OPTIONS:MOTR} -LIB_DEPENDS+= otr.4:${PORTSDIR}/security/libotr3 \ - gcrypt:${PORTSDIR}/security/libgcrypt -CONFIGURE_ARGS+=--enable-otr -PLIST_SUB+= OTR="" -.else -CONFIGURE_ARGS+=--disable-otr -PLIST_SUB+= OTR="@comment " -.endif +GPGME_LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme +GPGME_CONFIGURE_ENABLE= gpgme +ASPELL_LIB_DEPENDS= libaspell.so:${PORTSDIR}/textproc/aspell +ASPELL_CONFIGURE_ENABLE=aspell +ENCHANT_LIB_DEPENDS= libenchant.so:${PORTSDIR}/textproc/enchant +ENCHANT_CONFIGURE_ENABLE=enchant +OTR_LIB_DEPENDS= libotr.so.4:${PORTSDIR}/security/libotr3 \ + libgcrypt.so:${PORTSDIR}/security/libgcrypt +OTR_CONFIGURE_ENABLE= otr post-patch: @${REINPLACE_CMD} -e 's|$$"$${datadir}"|"$${datadir}"|;s|-O2||'\ @@ -72,9 +48,9 @@ post-patch: ${WRKSRC}/Makefile.* post-install: - @${INSTALL} -d ${PREFIX}/share/applications/ ${EXAMPLESDIR}/ - @${INSTALL} ${WRKSRC}/${PORTNAME}.desktop ${PREFIX}/share/applications/ - @${CP} -R ${WRKSRC}/contrib ${DATADIR}/ - ${INSTALL_DATA} ${WRKSRC}/mcabberrc.example ${EXAMPLESDIR}/mcabberrc + @${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/ + @${INSTALL} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${PREFIX}/share/applications/ + @${CP} -R ${WRKSRC}/contrib ${STAGEDIR}${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/mcabberrc.example ${STAGEDIR}${EXAMPLESDIR}/mcabberrc .include <bsd.port.mk> diff --git a/net-im/mcabber/pkg-plist b/net-im/mcabber/pkg-plist index 16aac060b930..4f7dc25dc8c6 100644 --- a/net-im/mcabber/pkg-plist +++ b/net-im/mcabber/pkg-plist @@ -39,6 +39,7 @@ lib/mcabber/libfifo.la lib/mcabber/liburlregex.so lib/mcabber/libfifo.so libdata/pkgconfig/mcabber.pc +man/man1/mcabber.1.gz share/applications/mcabber.desktop %%EXAMPLESDIR%%/mcabberrc %%DATADIR%%/help/en/hlp.txt |