1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

misc/openr2:

- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
- Use @sample
This commit is contained in:
Tijl Coosemans 2014-08-16 15:30:05 +00:00
parent a72d467af3
commit ef2ec07cbc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365093
5 changed files with 16 additions and 23 deletions

View File

@ -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>

View File

@ -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:

View File

@ -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

View File

@ -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/

View File

@ -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/