Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2014 01:56:20 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345297 - head/misc/dahdi
Message-ID:  <201402210156.s1L1uKLn073350@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Fri Feb 21 01:56:19 2014
New Revision: 345297
URL: http://svnweb.freebsd.org/changeset/ports/345297
QAT: https://qat.redports.org/buildarchive/r345297/

Log:
  - Stage support

Modified:
  head/misc/dahdi/Makefile
  head/misc/dahdi/pkg-plist

Modified: head/misc/dahdi/Makefile
==============================================================================
--- head/misc/dahdi/Makefile	Fri Feb 21 01:56:02 2014	(r345296)
+++ head/misc/dahdi/Makefile	Fri Feb 21 01:56:19 2014	(r345297)
@@ -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>

Modified: head/misc/dahdi/pkg-plist
==============================================================================
--- head/misc/dahdi/pkg-plist	Fri Feb 21 01:56:02 2014	(r345296)
+++ head/misc/dahdi/pkg-plist	Fri Feb 21 01:56:19 2014	(r345297)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402210156.s1L1uKLn073350>