Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 13:50:36 +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: r331386 - in head/net: corkscrew httping micro_proxy minissdpd nyancat recvnet socat
Message-ID:  <201310231350.r9NDoaCq094689@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Oct 23 13:50:35 2013
New Revision: 331386
URL: http://svnweb.freebsd.org/changeset/ports/331386

Log:
  Support staging.

Modified:
  head/net/corkscrew/Makefile
  head/net/httping/Makefile
  head/net/micro_proxy/Makefile
  head/net/minissdpd/Makefile
  head/net/nyancat/Makefile
  head/net/recvnet/Makefile
  head/net/socat/Makefile

Modified: head/net/corkscrew/Makefile
==============================================================================
--- head/net/corkscrew/Makefile	Wed Oct 23 13:42:43 2013	(r331385)
+++ head/net/corkscrew/Makefile	Wed Oct 23 13:50:35 2013	(r331386)
@@ -17,14 +17,13 @@ GNU_CONFIGURE=	yes
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in NEWS README TODO
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/net/httping/Makefile
==============================================================================
--- head/net/httping/Makefile	Wed Oct 23 13:42:43 2013	(r331385)
+++ head/net/httping/Makefile	Wed Oct 23 13:50:35 2013	(r331386)
@@ -13,15 +13,12 @@ COMMENT=	Ping-like tool for HTTP request
 
 USES=		gmake gettext
 
-MAN1=		httping.1
-PLIST_FILES=	bin/httping
+PLIST_FILES=	bin/httping man/man1/httping.1.gz
 
 OPTIONS_DEFINE=	NCURSES FFTW SSL
 
 OPTIONS_DEFAULT=NCURSES SSL
 
-NO_STAGE=	yes
-
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MNCURSES}
@@ -46,7 +43,7 @@ MAKE_ENV+=	SSL=no
 .endif
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>

Modified: head/net/micro_proxy/Makefile
==============================================================================
--- head/net/micro_proxy/Makefile	Wed Oct 23 13:42:43 2013	(r331385)
+++ head/net/micro_proxy/Makefile	Wed Oct 23 13:50:35 2013	(r331386)
@@ -12,18 +12,16 @@ MAINTAINER=	ehaupt@FreeBSD.org
 COMMENT=	Really small HTTP/HTTPS proxy
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
-PLIST_FILES=	libexec/micro_proxy
-MAN8=		micro_proxy.8
+PLIST_FILES=	libexec/micro_proxy man/man8/micro_proxy.8.gz
 SUB_FILES=	pkg-message
 
-NO_STAGE=	yes
 do-build:
 	${CC} ${CFLAGS} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o
 	${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.o -o ${WRKSRC}/${PORTNAME}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/libexec
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/libexec
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
 
 post-install:
 	@${CAT} ${PKGMESSAGE}

Modified: head/net/minissdpd/Makefile
==============================================================================
--- head/net/minissdpd/Makefile	Wed Oct 23 13:42:43 2013	(r331385)
+++ head/net/minissdpd/Makefile	Wed Oct 23 13:50:35 2013	(r331386)
@@ -15,19 +15,17 @@ USE_RC_SUBR=	minissdpd
 
 CFLAGS+=	-D_GNU_SOURCE
 
-MAN8=		minissdpd.8
-PLIST_FILES=	sbin/minissdpd
+PLIST_FILES=	sbin/minissdpd man/man8/minissdpd.8.gz
 
-NO_STAGE=	yes
 post-extract:
-	@${MV} ${WRKSRC}/${PORTNAME}.1 ${WRKSRC}/${MAN8}
+	@${MV} ${WRKSRC}/${PORTNAME}.1 ${WRKSRC}/${PORTNAME}.8
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|^\(\.TH.*\)1|\18|' ${WRKSRC}/${MAN8}
+	@${REINPLACE_CMD} -e 's|^\(\.TH.*\)1|\18|' ${WRKSRC}/${PORTNAME}.8
 	@${REINPLACE_CMD} -E '/^(CC|CFLAGS)/d' ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
-	${INSTALL_MAN} ${WRKSRC}/${MAN8} ${MANPREFIX}/man/man8
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${MANPREFIX}/man/man8
 
 .include <bsd.port.mk>

Modified: head/net/nyancat/Makefile
==============================================================================
--- head/net/nyancat/Makefile	Wed Oct 23 13:42:43 2013	(r331385)
+++ head/net/nyancat/Makefile	Wed Oct 23 13:50:35 2013	(r331386)
@@ -19,9 +19,8 @@ PLIST_FILES=	bin/nyancat
 
 WRKSRC=		${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GH_COMMIT}
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 post-install:
 	@${CAT} ${PKGMESSAGE}

Modified: head/net/recvnet/Makefile
==============================================================================
--- head/net/recvnet/Makefile	Wed Oct 23 13:42:43 2013	(r331385)
+++ head/net/recvnet/Makefile	Wed Oct 23 13:50:35 2013	(r331386)
@@ -16,12 +16,11 @@ LDFLAGS+=	-lcurses
 
 PLIST_FILES=	bin/recvnet
 
-NO_STAGE=	yes
 do-build:
 	${CC} ${CFLAGS} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o
 	${CC} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.o -o ${WRKSRC}/${PORTNAME}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: head/net/socat/Makefile
==============================================================================
--- head/net/socat/Makefile	Wed Oct 23 13:42:43 2013	(r331385)
+++ head/net/socat/Makefile	Wed Oct 23 13:50:35 2013	(r331386)
@@ -20,13 +20,11 @@ USE_OPENSSL=	yes
 
 PORTSCOUT=	skipv:2.0.0-b2
 
-MAN1=		socat.1
-PLIST_FILES=	bin/filan bin/procan bin/socat
+PLIST_FILES=	bin/filan bin/procan bin/socat man/man1/socat.1.gz
 PORTDOCS=	EXAMPLES README SECURITY FAQ
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if defined(WITH_OPENSSL_PORT)
@@ -42,12 +40,12 @@ CFLAGS+=	-Wno-unused-comparison
 
 do-install:
 .for f in filan procan socat
-	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
 .endfor
-	${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .if ${ARCH} == "arm"



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