diff --git a/misc/dahdi/Makefile b/misc/dahdi/Makefile index ed62a0d25928..1cea8a5808aa 100644 --- a/misc/dahdi/Makefile +++ b/misc/dahdi/Makefile @@ -1,41 +1,42 @@ PORTNAME= dahdi PORTVERSION= ${DAHDI_VERSION:S/-//g} -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= misc MASTER_SITES= LOCAL/fjoe DISTNAME= ${PORTNAME}-freebsd-complete-${DAHDI_VERSION}+${DAHDI_TOOLS_VERSION} MAINTAINER= ports@FreeBSD.org COMMENT= DAHDI userland utilities and libraries WWW= http://www.asterisk.org/dahdi/ LIB_DEPENDS= libnewt.so:devel/newt DAHDI_VERSION= 2.4.0-rc5 DAHDI_TOOLS_VERSION= 2.4.0-rc1 GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USES= gmake CONFIGURE_ARGS= --with-dahdi=../freebsd --sysconfdir=${PREFIX}/etc --with-newt=${LOCALBASE} CONFIGURE_ENV= WGET=/usr/bin/fetch WRKSRC= ${WRKDIR}/${DISTNAME}/tools PATCH_WRKSRC= ${WRKDIR}/${DISTNAME} USE_LDCONFIG= yes MAKE_ENV= HOST_CC=${CC} CONFLICTS= zaptel post-patch: @${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g'\ ${WRKSRC}/dahdi_cfg.c ${WRKSRC}/fxotune.c\ ${WRKSRC}/doc/dahdi_cfg.8 ${WRKSRC}/doc/fxotune.8 post-install: @${ECHO_CMD} "==> Installing dahdi-kmod userland includes" @${MKDIR} ${STAGEDIR}${PREFIX}/include/dahdi/compat @for i in `${MAKE} -C ${WRKSRC}/../freebsd/freebsd/dahdi -DPRINT_INCS -V INCS`; do\ ${ECHO_CMD} "Installing $$i";\ ${INSTALL_DATA} ${WRKSRC}/../freebsd/include/dahdi/$$i ${STAGEDIR}${PREFIX}/include/dahdi/$$i;\ done .include diff --git a/misc/dahdi/pkg-plist b/misc/dahdi/pkg-plist index 390534f329e4..66d379702cfd 100644 --- a/misc/dahdi/pkg-plist +++ b/misc/dahdi/pkg-plist @@ -1,25 +1,25 @@ etc/dahdi/system.conf.sample include/dahdi/compat/types.h include/dahdi/tonezone.h include/dahdi/user.h include/dahdi/wctdm_user.h lib/libtonezone.a lib/libtonezone.so lib/libtonezone.so.1 lib/libtonezone.so.1.0 lib/libtonezone.so.2 lib/libtonezone.so.2.0 sbin/dahdi_cfg sbin/dahdi_maint sbin/dahdi_monitor sbin/dahdi_scan sbin/dahdi_speed sbin/dahdi_test sbin/dahdi_tool sbin/fxotune -man/man8/dahdi_cfg.8.gz -man/man8/dahdi_monitor.8.gz -man/man8/dahdi_scan.8.gz -man/man8/dahdi_test.8.gz -man/man8/dahdi_tool.8.gz -man/man8/fxotune.8.gz +share/man/man8/dahdi_cfg.8.gz +share/man/man8/dahdi_monitor.8.gz +share/man/man8/dahdi_scan.8.gz +share/man/man8/dahdi_test.8.gz +share/man/man8/dahdi_tool.8.gz +share/man/man8/fxotune.8.gz