svn commit: r345927 - head/net/unix2tcp
Emanuel Haupt
ehaupt at FreeBSD.org
Tue Feb 25 08:37:21 UTC 2014
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>
More information about the svn-ports-all
mailing list