Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 08:37:21 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345927 - head/net/unix2tcp
Message-ID:  <201402250837.s1P8bLrf000644@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Feb 25 08:37:21 2014
New Revision: 345927
URL: http://svnweb.freebsd.org/changeset/ports/345927
QAT: https://qat.redports.org/buildarchive/r345927/

Log:
  Support staging

Modified:
  head/net/unix2tcp/Makefile

Modified: head/net/unix2tcp/Makefile
==============================================================================
--- head/net/unix2tcp/Makefile	Tue Feb 25 08:32:41 2014	(r345926)
+++ head/net/unix2tcp/Makefile	Tue Feb 25 08:37:21 2014	(r345927)
@@ -13,7 +13,8 @@ COMMENT=	A connection forwarder that con
 CFLAGS+=	-DHAVE_CONFIG_H -I.
 GNU_CONFIGURE=	yes
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-build:
 	cd ${WRKSRC} && \
 	${CC} ${CFLAGS} -c ${PORTNAME}.c -o ${PORTNAME}.o &&\
@@ -24,11 +25,8 @@ do-build:
 	${CC} ${CFLAGS} -c utelnet.c -o utelnet.o
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
-
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README
 
 .include <bsd.port.mk>



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