www/quark: Update to latest commit

Changes:	http://git.suckless.org/quark/log.html
This commit is contained in:
Tobias Kortkamp 2021-10-13 14:14:50 +02:00
parent 6b812f11f4
commit 8c351bfd74
No known key found for this signature in database
GPG key ID: A4F09FB73CC51F61
3 changed files with 15 additions and 26 deletions

View file

@ -1,11 +1,7 @@
PORTNAME= quark PORTNAME= quark
DISTVERSION= g20190923 DISTVERSION= g20210222
PORTREVISION= 1
CATEGORIES= www CATEGORIES= www
# XXX: See PR 244457 for details why this is not LOCAL/0mp.
MASTER_SITES= https://people.freebsd.org/~0mp/distfiles/
PKGNAMESUFFIX= -server PKGNAMESUFFIX= -server
DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Small and simple HTTP GET/HEAD-only web server for static content COMMENT= Small and simple HTTP GET/HEAD-only web server for static content
@ -13,27 +9,31 @@ COMMENT= Small and simple HTTP GET/HEAD-only web server for static content
LICENSE= ISCL LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= quark USE_GITHUB= yes
GH_ACCOUNT= t6 # mirror of http://git.suckless.org/quark/
GH_TAGNAME= 68b4f733b2755762e43df90f73db5a6ec8d14104
MAKE_ARGS= MANPREFIX=${PREFIX}/share/man CONFLICTS_INSTALL= quark
PLIST_FILES= bin/quark \ PLIST_FILES= bin/quark \
share/man/man1/quark.1.gz share/man/man1/quark.1.gz
.include <bsd.port.options.mk>
_COMMIT_HASH= 3c7049e9063edebbd1934178f263f9f3c9b8ddf5
pre-everything:: pre-everything::
@${ECHO_MSG} "You can build quark with your own config.h using the QUARK_CONF knob:" @${ECHO_MSG} "You can build quark with your own config.h using the QUARK_CONF knob:"
@${ECHO_MSG} "make QUARK_CONF=/path/to/quark/config.h install clean" @${ECHO_MSG} "make QUARK_CONF=/path/to/quark/config.h install clean"
post-patch:
.if defined(QUARK_CONF) .if defined(QUARK_CONF)
post-patch:
@${ECHO_MSG} "Creating config.h from ${QUARK_CONF}" @${ECHO_MSG} "Creating config.h from ${QUARK_CONF}"
@${LN} -sf ${QUARK_CONF} ${WRKSRC}/config.h @${LN} -sf ${QUARK_CONF} ${WRKSRC}/config.h
.endif .endif
do-configure:
@${ECHO_CMD} PREFIX="${PREFIX}" >>${WRKSRC}/config.mk
@${ECHO_CMD} CC="${CC}" >>${WRKSRC}/config.mk
@${ECHO_CMD} CFLAGS+="${CFLAGS}" >>${WRKSRC}/config.mk
@${ECHO_CMD} LDFLAGS+="${LDFLAGS}" >>${WRKSRC}/config.mk
post-install: post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quark @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quark

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1571571885 TIMESTAMP = 1634126831
SHA256 (quark-server-g20190923.tar.gz) = 3c50e52d8e6f8f939cd02e3a94368a22c3f723606b7c486bb30cec8f1dc09b5e SHA256 (t6-quark-g20210222-68b4f733b2755762e43df90f73db5a6ec8d14104_GH0.tar.gz) = 7621e549493867199c461582b4f96c4fb890420b86f692dfd8b58da61dd4da7b
SIZE (quark-server-g20190923.tar.gz) = 14101 SIZE (t6-quark-g20210222-68b4f733b2755762e43df90f73db5a6ec8d14104_GH0.tar.gz) = 23529

View file

@ -1,11 +0,0 @@
--- Makefile.orig 2020-02-26 22:07:21 UTC
+++ Makefile
@@ -2,7 +2,7 @@
# quark - simple web server
.POSIX:
-include config.mk
+#include config.mk
COMPONENTS = util sock http resp