diff --git a/www/quark/Makefile b/www/quark/Makefile index f6e58048830c..c2281e0b7389 100644 --- a/www/quark/Makefile +++ b/www/quark/Makefile @@ -1,54 +1,45 @@ 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= ${PORTNAME}${PKGNAMESUFFIX}-${DISTVERSIONFULL} -MAINTAINER= 0mp@FreeBSD.org +MAINTAINER= ports@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}/share/man PLIST_FILES= bin/quark \ 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 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: .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: - ${RM} -r -- ${PKGNAME} - git clone -n https://git.suckless.org/quark ${PKGNAME} - 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