svn commit: r365093 - in head: misc/openr2 misc/openr2/files net/asterisk net/asterisk11

Tijl Coosemans tijl at FreeBSD.org
Sat Aug 16 15:30:06 UTC 2014


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
- at 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
- at exec if test ! -e %D/etc/r2proto.conf; then cp -p %D/etc/r2proto.conf-dist %D/etc/r2proto.conf; fi
- at 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
- at exec if test ! -e %D/etc/r2test.conf; then cp -p %D/etc/r2test.conf-dist %D/etc/r2test.conf; fi
- at exec false
+ at sample etc/r2proto.conf.sample
+ at 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/


More information about the svn-ports-all mailing list