mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
misc/openr2:
- Add USES=libtool and bump dependent ports - Add INSTALL_TARGET=install-strip - Use @sample
This commit is contained in:
parent
a72d467af3
commit
ef2ec07cbc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365093
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= openr2
|
PORTNAME= openr2
|
||||||
PORTVERSION= 1.3.2
|
PORTVERSION= 1.3.2
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= misc
|
CATEGORIES= misc
|
||||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
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
|
BUILD_DEPENDS= ${LOCALBASE}/include/dahdi/user.h:${PORTSDIR}/misc/dahdi
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include"
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
|
INSTALL_TARGET= install-strip
|
||||||
|
USES= libtool
|
||||||
USE_LDCONFIG= yes
|
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>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
--- Makefile.in.orig 2012-06-26 19:49:39.000000000 +0700
|
|
||||||
+++ Makefile.in 2012-06-26 19:50:31.000000000 +0700
|
|
||||||
@@ -370,8 +370,8 @@
|
|
||||||
@list='$(dist_sysconf_DATA)'; for p in $$list; do \
|
|
||||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
||||||
f=$(am__strip_dir) \
|
|
||||||
- echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f'"; \
|
|
||||||
- $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f"; \
|
|
||||||
+ echo " $(dist_sysconfDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(sysconfdir)/$$f-dist'"; \
|
|
||||||
+ $(dist_sysconfDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(sysconfdir)/$$f-dist"; \
|
|
||||||
done
|
|
||||||
|
|
||||||
uninstall-dist_sysconfDATA:
|
|
@ -1,12 +1,7 @@
|
|||||||
bin/r2dtmf_detect
|
bin/r2dtmf_detect
|
||||||
bin/r2test
|
bin/r2test
|
||||||
@unexec if cmp -s %D/etc/r2proto.conf %D/etc/r2proto.conf-dist; then rm -f %D/etc/r2proto.conf; fi
|
@sample etc/r2proto.conf.sample
|
||||||
etc/r2proto.conf-dist
|
@sample etc/r2test.conf.sample
|
||||||
@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
|
|
||||||
include/openr2.h
|
include/openr2.h
|
||||||
include/openr2/r2chan.h
|
include/openr2/r2chan.h
|
||||||
include/openr2/r2context.h
|
include/openr2/r2context.h
|
||||||
@ -14,9 +9,9 @@ include/openr2/r2log.h
|
|||||||
include/openr2/r2proto.h
|
include/openr2/r2proto.h
|
||||||
include/openr2/r2utils.h
|
include/openr2/r2utils.h
|
||||||
lib/libopenr2.a
|
lib/libopenr2.a
|
||||||
lib/libopenr2.la
|
|
||||||
lib/libopenr2.so
|
lib/libopenr2.so
|
||||||
lib/libopenr2.so.4
|
lib/libopenr2.so.3
|
||||||
|
lib/libopenr2.so.3.1.1
|
||||||
man/man5/r2test.conf.5.gz
|
man/man5/r2test.conf.5.gz
|
||||||
man/man8/r2test.8.gz
|
man/man8/r2test.8.gz
|
||||||
@dirrm include/openr2
|
@dirrm include/openr2
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
PORTNAME= asterisk
|
PORTNAME= asterisk
|
||||||
PORTVERSION= 1.8.29.0
|
PORTVERSION= 1.8.29.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
|
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
|
||||||
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
|
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= asterisk
|
PORTNAME= asterisk
|
||||||
PORTVERSION= 11.11.0
|
PORTVERSION= 11.11.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
|
MASTER_SITES= http://downloads.asterisk.org/pub/telephony/asterisk/ \
|
||||||
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
|
http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
|
||||||
|
Loading…
Reference in New Issue
Block a user