Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2014 08:28:37 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347720 - head/net-im/freetalk
Message-ID:  <201403100828.s2A8SbnC033906@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Mon Mar 10 08:28:36 2014
New Revision: 347720
URL: http://svnweb.freebsd.org/changeset/ports/347720
QAT: https://qat.redports.org/buildarchive/r347720/

Log:
  - Remove optional dependency on expired audio/beep
  - Use option helpers
  - Use new LIB_DEPENDS syntax
  - Fix pkg-plist
  
  Approved by:	portmgr (infrastructure blanket)

Modified:
  head/net-im/freetalk/Makefile
  head/net-im/freetalk/pkg-plist

Modified: head/net-im/freetalk/Makefile
==============================================================================
--- head/net-im/freetalk/Makefile	Mon Mar 10 08:24:23 2014	(r347719)
+++ head/net-im/freetalk/Makefile	Mon Mar 10 08:28:36 2014	(r347720)
@@ -11,10 +11,9 @@ MASTER_SITES=	SAVANNAH/freetalk \
 MAINTAINER=	olevole@olevole.ru
 COMMENT=	GNU console based Jabber client
 
-OPTIONS_DEFINE=	BEEP NLS
-BEEP_DESC=	Use beep program
+OPTIONS_DEFINE=	NLS
 
-LIB_DEPENDS=	loudmouth-1.0:${PORTSDIR}/net-im/loudmouth
+LIB_DEPENDS=	libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth
 BUILD_DEPENDS=	guile>=1.8.6:${PORTSDIR}/lang/guile
 RUN_DEPENDS=	guile>=1.8.6:${PORTSDIR}/lang/guile
 
@@ -24,19 +23,10 @@ GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
-.include <bsd.port.options.mk>
+OPTIONS_SUB=	yes
 
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+=     NLS=""
-USES+=		gettext
-CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=     NLS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MBEEP}
-RUN_DEPENDS+=	${LOCALBASE}/bin/beep:${PORTSDIR}/audio/beep
-.endif
+NLS_USES=	gettext
+NLS_CONFIGURE_WITH=libintl-prefix=${LOCALBASE}
+NLS_CONFIGURE_OFF= --disable-nls
 
 .include <bsd.port.mk>

Modified: head/net-im/freetalk/pkg-plist
==============================================================================
--- head/net-im/freetalk/pkg-plist	Mon Mar 10 08:24:23 2014	(r347719)
+++ head/net-im/freetalk/pkg-plist	Mon Mar 10 08:28:36 2014	(r347720)
@@ -32,6 +32,7 @@ man/man1/freetalk.1.gz
 @dirrmtry share/locale/en@boldquot
 @dirrmtry share/locale/en@quot/LC_MESSAGES
 @dirrmtry share/locale/en@quot
+@dirrmtry info
 @dirrm %%DATADIR%%/extensions
 @dirrm %%DATADIR%%
 @dirrm %%DOCSDIR%%/examples



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403100828.s2A8SbnC033906>