aboutsummaryrefslogtreecommitdiff
path: root/misc/dahdi
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-21 01:56:19 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-21 01:56:19 +0000
commit779c976cb7596505715a7acf525ab7fe926f529c (patch)
treeafd01a456ceff412b610ae92a9c42f025acf46c2 /misc/dahdi
parentf6b7831c555f8b9315613e4d1d019dfc993fd21a (diff)
downloadports-779c976cb7596505715a7acf525ab7fe926f529c.tar.gz
ports-779c976cb7596505715a7acf525ab7fe926f529c.zip
Notes
Diffstat (limited to 'misc/dahdi')
-rw-r--r--misc/dahdi/Makefile14
-rw-r--r--misc/dahdi/pkg-plist6
2 files changed, 9 insertions, 11 deletions
diff --git a/misc/dahdi/Makefile b/misc/dahdi/Makefile
index a241a7bcaac4..ee7daf5e772d 100644
--- a/misc/dahdi/Makefile
+++ b/misc/dahdi/Makefile
@@ -18,7 +18,7 @@ DAHDI_VERSION= 2.4.0-rc5
DAHDI_TOOLS_VERSION= 2.4.0-rc1
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
CONFIGURE_ARGS= --with-dahdi=../freebsd --sysconfdir=${PREFIX}/etc --with-newt=${LOCALBASE}
CONFIGURE_ENV= WGET=/usr/bin/fetch
WRKSRC= ${WRKDIR}/${DISTNAME}/tools
@@ -27,14 +27,6 @@ USE_LDCONFIG= yes
CONFLICTS= zaptel-[0-9]*
-MAN8= dahdi_cfg.8\
- dahdi_monitor.8\
- dahdi_scan.8\
- dahdi_test.8\
- dahdi_tool.8\
- fxotune.8
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/etc,${PREFIX}/etc,g'\
${WRKSRC}/dahdi_cfg.c ${WRKSRC}/fxotune.c\
@@ -42,10 +34,10 @@ post-patch:
post-install:
@${ECHO_CMD} "==> Installing dahdi-kmod userland includes"
- @${MKDIR} ${PREFIX}/include/dahdi/compat
+ @${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 ${PREFIX}/include/dahdi/$$i;\
+ ${INSTALL_DATA} ${WRKSRC}/../freebsd/include/dahdi/$$i ${STAGEDIR}${PREFIX}/include/dahdi/$$i;\
done
.include <bsd.port.mk>
diff --git a/misc/dahdi/pkg-plist b/misc/dahdi/pkg-plist
index 94f6d782db49..be529623a082 100644
--- a/misc/dahdi/pkg-plist
+++ b/misc/dahdi/pkg-plist
@@ -17,6 +17,12 @@ 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
@dirrm include/dahdi/compat
@dirrm include/dahdi
@dirrmtry etc/dahdi