Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 15:58:25 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360215 - in head/www/micro_httpd: . files
Message-ID:  <201407021558.s62FwPDT038190@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jul  2 15:58:25 2014
New Revision: 360215
URL: http://svnweb.freebsd.org/changeset/ports/360215
QAT: https://qat.redports.org/buildarchive/r360215/

Log:
  Stagify.
  
  Approved by:	portmgr@ (blanket approval)

Added:
  head/www/micro_httpd/files/
  head/www/micro_httpd/files/patch-Makefile   (contents, props changed)
Modified:
  head/www/micro_httpd/Makefile

Modified: head/www/micro_httpd/Makefile
==============================================================================
--- head/www/micro_httpd/Makefile	Wed Jul  2 15:58:13 2014	(r360214)
+++ head/www/micro_httpd/Makefile	Wed Jul  2 15:58:25 2014	(r360215)
@@ -12,10 +12,8 @@ MAINTAINER=	user@unknown.nu
 COMMENT=	An extremely small web server
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
-MAN8=		micro_httpd.8
-PLIST_FILES=	sbin/micro_httpd
+PLIST_FILES=	sbin/micro_httpd man/man8/micro_httpd.8.gz
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s:/usr/local/sbin:${PREFIX}/sbin:g; \
 		s:/usr/local/man/man8:${MAN8PREFIX}/man/man8:g; \

Added: head/www/micro_httpd/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/micro_httpd/files/patch-Makefile	Wed Jul  2 15:58:25 2014	(r360215)
@@ -0,0 +1,15 @@
+--- Makefile.orig	2014-07-02 23:56:06.393446603 +0800
++++ Makefile	2014-07-02 23:56:23.688452420 +0800
+@@ -16,10 +16,8 @@ micro_httpd.o:	micro_httpd.c
+ 	${CC} ${CFLAGS} -c micro_httpd.c
+ 
+ install:	all
+-	rm -f ${BINDIR}/micro_httpd
+-	cp micro_httpd ${BINDIR}
+-	rm -f ${MANDIR}/micro_httpd.8
+-	cp micro_httpd.8 ${MANDIR}
++	cp micro_httpd $(DESTDIR)${BINDIR}
++	cp micro_httpd.8 $(DESTDIR)${MANDIR}
+ 
+ clean:
+ 	rm -f micro_httpd *.o core core.* *.core



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