Index: head/www/micro_httpd/files/patch-Makefile =================================================================== --- head/www/micro_httpd/files/patch-Makefile (revision 372083) +++ head/www/micro_httpd/files/patch-Makefile (nonexistent) @@ -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 Property changes on: head/www/micro_httpd/files/patch-Makefile ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/www/micro_httpd/Makefile =================================================================== --- head/www/micro_httpd/Makefile (revision 372083) +++ head/www/micro_httpd/Makefile (revision 372084) @@ -1,25 +1,25 @@ # Created by: Kim Scarborough # $FreeBSD$ PORTNAME= micro_httpd -PORTVERSION= 2001.12.14 +PORTVERSION= 2014.08.14 CATEGORIES= www -MASTER_SITES= http://www.acme.com/software/micro_httpd/ \ - http://www.unknown.nu/ports/ -DISTNAME= ${PORTNAME}_14dec2001 +MASTER_SITES= http://www.acme.com/software/micro_httpd/ +DISTNAME= ${PORTNAME}_14Aug2014 MAINTAINER= user@unknown.nu COMMENT= Extremely small web server WRKSRC= ${WRKDIR}/${PORTNAME} PLIST_FILES= sbin/micro_httpd man/man8/micro_httpd.8.gz +ALL_TARGET= ${PORTNAME} + post-patch: - @${REINPLACE_CMD} -e "s:/usr/local/sbin:${PREFIX}/sbin:g; \ - s:/usr/local/man/man8:${MAN8PREFIX}/man/man8:g; \ - s:gcc:${CC}:g; s:-O:${CFLAGS}:g" \ - ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e "s/^.TH micro_httpd 1/.TH micro_httpd 8/g" \ - ${WRKSRC}/micro_httpd.8 + ${REINPLACE_CMD} 's|-O|${CFLAGS}|' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/micro_httpd ${STAGEDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/micro_httpd.8 ${STAGEDIR}${MAN1PREFIX}/man/man8 .include Index: head/www/micro_httpd/distinfo =================================================================== --- head/www/micro_httpd/distinfo (revision 372083) +++ head/www/micro_httpd/distinfo (revision 372084) @@ -1,2 +1,2 @@ -SHA256 (micro_httpd_14dec2001.tar.gz) = 111be3481b4c105aa3a90afb5f1ad29e96c124a8a4da1f6fe3802210997cab22 -SIZE (micro_httpd_14dec2001.tar.gz) = 4665 +SHA256 (micro_httpd_14Aug2014.tar.gz) = 3313f19d80897caa0fa9cd5cc7481736302bb6f61ac45238d240871117119556 +SIZE (micro_httpd_14Aug2014.tar.gz) = 5318