Index: head/www/quark/Makefile =================================================================== --- head/www/quark/Makefile (revision 527223) +++ head/www/quark/Makefile (revision 527224) @@ -1,55 +1,56 @@ # $FreeBSD$ PORTNAME= quark DISTVERSION= g20190923 +PORTREVISION= 1 CATEGORIES= www +# XXX: See PR 244457 for details why this is not LOCAL/0mp. MASTER_SITES= https://people.freebsd.org/~0mp/distfiles/ PKGNAMESUFFIX= -server -DISTNAME= ${PKGNAME} +DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL} MAINTAINER= 0mp@FreeBSD.org COMMENT= Small and simple HTTP GET/HEAD-only web server for static content LICENSE= ISCL LICENSE_FILE= ${WRKSRC}/LICENSE CONFLICTS_INSTALL= quark -MAKE_ARGS= MANPREFIX=${PREFIX}/man +MAKE_ARGS= MANPREFIX=${PREFIX}/share/man PLIST_FILES= bin/quark \ - man/man1/quark.1.gz + share/man/man1/quark.1.gz .include # _WITH_DPRINTF support was removed precisely in r303524. .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200002 CFLAGS+= -D_WITH_DPRINTF .endif -COMMIT_HASH= 3c7049e9063edebbd1934178f263f9f3c9b8ddf5 +_COMMIT_HASH= 3c7049e9063edebbd1934178f263f9f3c9b8ddf5 pre-everything:: @${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" post-patch: - ${REINPLACE_CMD} -e '/^include config.mk$$/d' ${WRKSRC}/Makefile .if defined(QUARK_CONF) @${ECHO_MSG} "Creating config.h from ${QUARK_CONF}" @${LN} -sf ${QUARK_CONF} ${WRKSRC}/config.h .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/quark -regenerate-distfile: +_regenerate-distfile: ${RM} -r -- ${PKGNAME} git clone -n https://git.suckless.org/quark ${PKGNAME} - git -C ${PKGNAME} checkout ${COMMIT_HASH} + git -C ${PKGNAME} checkout ${_COMMIT_HASH} ${RM} -r -- ${PKGNAME}/.git ${TAR} -czf ${PKGNAME}.tar.gz ${PKGNAME} scp ${PKGNAME}.tar.gz 0mp@freefall.freebsd.org:~/public_html/distfiles ${RM} -r -- ${PKGNAME} ${PKGNAME}.tar.gz .include Index: head/www/quark/files/patch-Makefile =================================================================== --- head/www/quark/files/patch-Makefile (nonexistent) +++ head/www/quark/files/patch-Makefile (revision 527224) @@ -0,0 +1,11 @@ +--- 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 + Property changes on: head/www/quark/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property