aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-02 23:58:25 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-02 23:58:25 +0800
commit7705bf4207d867c124f0a1ccf00643a6160ff35c (patch)
treeec72a93e87878adef8d86260af7a69c30a9412f0 /www
parent611435c53b72e5fb69b096f6d317de18d9c42f91 (diff)
downloadfreebsd-ports-gnome-7705bf4207d867c124f0a1ccf00643a6160ff35c.tar.gz
freebsd-ports-gnome-7705bf4207d867c124f0a1ccf00643a6160ff35c.tar.zst
freebsd-ports-gnome-7705bf4207d867c124f0a1ccf00643a6160ff35c.zip
Stagify.
Approved by: portmgr@ (blanket approval)
Diffstat (limited to 'www')
-rw-r--r--www/micro_httpd/Makefile4
-rw-r--r--www/micro_httpd/files/patch-Makefile15
2 files changed, 16 insertions, 3 deletions
diff --git a/www/micro_httpd/Makefile b/www/micro_httpd/Makefile
index a4c93750e754..8ab076b0a5af 100644
--- a/www/micro_httpd/Makefile
+++ b/www/micro_httpd/Makefile
@@ -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; \
diff --git a/www/micro_httpd/files/patch-Makefile b/www/micro_httpd/files/patch-Makefile
new file mode 100644
index 000000000000..ca876d2f029d
--- /dev/null
+++ b/www/micro_httpd/files/patch-Makefile
@@ -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