Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 15:30:05 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365093 - in head: misc/openr2 misc/openr2/files net/asterisk net/asterisk11
Message-ID:  <201408161530.s7GFU5mr001797@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sat Aug 16 15:30:05 2014
New Revision: 365093
URL: http://svnweb.freebsd.org/changeset/ports/365093
QAT: https://qat.redports.org/buildarchive/r365093/

Log:
  misc/openr2:
  - Add USES=libtool and bump dependent ports
  - Add INSTALL_TARGET=install-strip
  - Use @sample

Deleted:
  head/misc/openr2/files/
Modified:
  head/misc/openr2/Makefile
  head/misc/openr2/pkg-plist
  head/net/asterisk/Makefile
  head/net/asterisk11/Makefile

Modified: head/misc/openr2/Makefile
==============================================================================
--- head/misc/openr2/Makefile	Sat Aug 16 15:26:58 2014	(r365092)
+++ head/misc/openr2/Makefile	Sat Aug 16 15:30:05 2014	(r365093)
@@ -3,6 +3,7 @@
 
 PORTNAME=	openr2
 PORTVERSION=	1.3.2
+PORTREVISION=	1
 CATEGORIES=	misc
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
@@ -12,7 +13,15 @@ COMMENT=	MFC/R2 call setup library
 BUILD_DEPENDS=	${LOCALBASE}/include/dahdi/user.h:${PORTSDIR}/misc/dahdi
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include"
+CPPFLAGS+=	-I${LOCALBASE}/include
+INSTALL_TARGET=	install-strip
+USES=		libtool
 USE_LDCONFIG=	yes
 
+post-install:
+	${MV} ${STAGEDIR}${PREFIX}/etc/r2proto.conf \
+		${STAGEDIR}${PREFIX}/etc/r2proto.conf.sample
+	${MV} ${STAGEDIR}${PREFIX}/etc/r2test.conf \
+		${STAGEDIR}${PREFIX}/etc/r2test.conf.sample
+
 .include <bsd.port.mk>

Modified: head/misc/openr2/pkg-plist
==============================================================================
--- head/misc/openr2/pkg-plist	Sat Aug 16 15:26:58 2014	(r365092)
+++ head/misc/openr2/pkg-plist	Sat Aug 16 15:30:05 2014	(r365093)
@@ -1,12 +1,7 @@
 bin/r2dtmf_detect
 bin/r2test
-@unexec if cmp -s %D/etc/r2proto.conf %D/etc/r2proto.conf-dist; then rm -f %D/etc/r2proto.conf; fi
-etc/r2proto.conf-dist
-@exec if test ! -e %D/etc/r2proto.conf; then cp -p %D/etc/r2proto.conf-dist %D/etc/r2proto.conf; fi
-@unexec if cmp -s %D/etc/r2test.conf %D/etc/r2test.conf-dist; then rm -f %D/etc/r2test.conf; fi
-etc/r2test.conf-dist
-@exec if test ! -e %D/etc/r2test.conf; then cp -p %D/etc/r2test.conf-dist %D/etc/r2test.conf; fi
-@exec false
+@sample etc/r2proto.conf.sample
+@sample etc/r2test.conf.sample
 include/openr2.h
 include/openr2/r2chan.h
 include/openr2/r2context.h
@@ -14,9 +9,9 @@ include/openr2/r2log.h
 include/openr2/r2proto.h
 include/openr2/r2utils.h
 lib/libopenr2.a
-lib/libopenr2.la
 lib/libopenr2.so
-lib/libopenr2.so.4
+lib/libopenr2.so.3
+lib/libopenr2.so.3.1.1
 man/man5/r2test.conf.5.gz
 man/man8/r2test.8.gz
 @dirrm include/openr2

Modified: head/net/asterisk/Makefile
==============================================================================
--- head/net/asterisk/Makefile	Sat Aug 16 15:26:58 2014	(r365092)
+++ head/net/asterisk/Makefile	Sat Aug 16 15:30:05 2014	(r365093)
@@ -3,6 +3,7 @@
 
 PORTNAME=	asterisk
 PORTVERSION=	1.8.29.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/asterisk/ \
 		http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/

Modified: head/net/asterisk11/Makefile
==============================================================================
--- head/net/asterisk11/Makefile	Sat Aug 16 15:26:58 2014	(r365092)
+++ head/net/asterisk11/Makefile	Sat Aug 16 15:30:05 2014	(r365093)
@@ -2,6 +2,7 @@
 
 PORTNAME=	asterisk
 PORTVERSION=	11.11.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://downloads.asterisk.org/pub/telephony/asterisk/ \
 		http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/



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