mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
- Update to version 2014.08.14 [1]
- Respect CFLAGS during build PR: 194227 [1] Submitted by: Neel Chauhan <neel@neelc.org> [1] Approved by: maintainer timeout
This commit is contained in:
parent
414c8f068c
commit
dae35c20d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372084
@ -2,11 +2,10 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= micro_httpd
|
PORTNAME= micro_httpd
|
||||||
PORTVERSION= 2001.12.14
|
PORTVERSION= 2014.08.14
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= http://www.acme.com/software/micro_httpd/ \
|
MASTER_SITES= http://www.acme.com/software/micro_httpd/
|
||||||
http://www.unknown.nu/ports/
|
DISTNAME= ${PORTNAME}_14Aug2014
|
||||||
DISTNAME= ${PORTNAME}_14dec2001
|
|
||||||
|
|
||||||
MAINTAINER= user@unknown.nu
|
MAINTAINER= user@unknown.nu
|
||||||
COMMENT= Extremely small web server
|
COMMENT= Extremely small web server
|
||||||
@ -14,12 +13,13 @@ COMMENT= Extremely small web server
|
|||||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||||
PLIST_FILES= sbin/micro_httpd man/man8/micro_httpd.8.gz
|
PLIST_FILES= sbin/micro_httpd man/man8/micro_httpd.8.gz
|
||||||
|
|
||||||
|
ALL_TARGET= ${PORTNAME}
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e "s:/usr/local/sbin:${PREFIX}/sbin:g; \
|
${REINPLACE_CMD} 's|-O|${CFLAGS}|' ${WRKSRC}/Makefile
|
||||||
s:/usr/local/man/man8:${MAN8PREFIX}/man/man8:g; \
|
|
||||||
s:gcc:${CC}:g; s:-O:${CFLAGS}:g" \
|
do-install:
|
||||||
${WRKSRC}/Makefile
|
${INSTALL_PROGRAM} ${WRKSRC}/micro_httpd ${STAGEDIR}${PREFIX}/sbin
|
||||||
@${REINPLACE_CMD} -e "s/^.TH micro_httpd 1/.TH micro_httpd 8/g" \
|
${INSTALL_MAN} ${WRKSRC}/micro_httpd.8 ${STAGEDIR}${MAN1PREFIX}/man/man8
|
||||||
${WRKSRC}/micro_httpd.8
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
SHA256 (micro_httpd_14dec2001.tar.gz) = 111be3481b4c105aa3a90afb5f1ad29e96c124a8a4da1f6fe3802210997cab22
|
SHA256 (micro_httpd_14Aug2014.tar.gz) = 3313f19d80897caa0fa9cd5cc7481736302bb6f61ac45238d240871117119556
|
||||||
SIZE (micro_httpd_14dec2001.tar.gz) = 4665
|
SIZE (micro_httpd_14Aug2014.tar.gz) = 5318
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
--- 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
|
|
Loading…
Reference in New Issue
Block a user