mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- update to 2.0
- pass maintainership to submitter - changes: * switch from kqueue to libevent2 to improve portability
This commit is contained in:
parent
90ce7c74a2
commit
dfd4a6d526
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299907
5 changed files with 31 additions and 12 deletions
|
@ -6,22 +6,21 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= mohawk
|
PORTNAME= mohawk
|
||||||
PORTVERSION= 0.9
|
PORTVERSION= 2.0
|
||||||
CATEGORIES= www ipv6
|
CATEGORIES= www ipv6
|
||||||
MASTER_SITES= http://files.etoilebsd.net/mohawk/
|
MASTER_SITES= http://files.etoilebsd.net/mohawk/ \
|
||||||
|
http://mohawk.bsdsx.fr/
|
||||||
|
|
||||||
MAINTAINER= bapt@FreeBSD.org
|
MAINTAINER= mohawk@bsdsx.fr
|
||||||
COMMENT= Simple and lightweight HTTP daemon
|
COMMENT= Simple and lightweight HTTP daemon
|
||||||
|
|
||||||
LICENSE= BSD
|
LICENSE= BSD
|
||||||
|
|
||||||
MAN1= mhtpasswd.1
|
|
||||||
MAN8= mohawk.8
|
|
||||||
|
|
||||||
PLIST_FILES+= bin/mhtpasswd \
|
PLIST_FILES+= bin/mhtpasswd \
|
||||||
sbin/mohawk \
|
sbin/mohawk \
|
||||||
etc/mohawk.conf.sample
|
etc/mohawk.conf.sample
|
||||||
|
|
||||||
|
PORTEXAMPLES= *
|
||||||
USE_RC_SUBR= mohawk
|
USE_RC_SUBR= mohawk
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
@ -29,10 +28,16 @@ USE_RC_SUBR= mohawk
|
||||||
BROKEN= does not build
|
BROKEN= does not build
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
LIB_DEPENDS= event-2.0:${PORTSDIR}/devel/libevent2
|
||||||
@${REINPLACE_CMD} -e '/.*rc.d\/mohawk.*/d' ${WRKSRC}/Makefile
|
CFLAGS+= -I${LOCALBASE}/include/event2/compat -I${LOCALBASE}/include
|
||||||
|
LDFLAGS+= -L${LOCALBASE}/lib/event2
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${INSTALL_DATA} ${WRKSRC}/mohawk.conf ${PREFIX}/etc/mohawk.conf.sample
|
@${INSTALL_DATA} ${WRKSRC}/examples/minimal.conf ${PREFIX}/etc/mohawk.conf.sample
|
||||||
|
@${INSTALL_SCRIPT} ${WRKSRC}/mhtpasswd.sh ${PREFIX}/bin/mhtpasswd
|
||||||
|
.if !defined(NOPORTEXAMPLES)
|
||||||
|
@${MKDIR} ${EXAMPLESDIR}
|
||||||
|
@${INSTALL_DATA} ${WRKSRC}/examples/*.conf ${EXAMPLESDIR}
|
||||||
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (mohawk-0.9.tar.gz) = 9c79b82cb3760462f8c5f6edfbbb68c67650692ae25248294dc9974e39be5ede
|
SHA256 (mohawk-2.0.tar.gz) = 6cef4ff7a18a61a807b7f5ba9819f76fefc9ff49f41dfeb0fee75db7d1044b23
|
||||||
SIZE (mohawk-0.9.tar.gz) = 26556
|
SIZE (mohawk-2.0.tar.gz) = 45363
|
||||||
|
|
7
www/mohawk/files/patch-man5__Makefile
Normal file
7
www/mohawk/files/patch-man5__Makefile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
--- ./man5/Makefile.orig 2012-05-28 13:26:48.000000000 +0200
|
||||||
|
+++ ./man5/Makefile 2012-05-28 13:27:02.000000000 +0200
|
||||||
|
@@ -1,3 +1,4 @@
|
||||||
|
+SHAREDIR= ${PREFIX}
|
||||||
|
MAN= mohawk.conf.5
|
||||||
|
|
||||||
|
.include <bsd.prog.mk>
|
7
www/mohawk/files/patch-man8__Makefile
Normal file
7
www/mohawk/files/patch-man8__Makefile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
--- ./man8/Makefile.orig 2012-05-28 13:27:10.000000000 +0200
|
||||||
|
+++ ./man8/Makefile 2012-05-28 13:27:22.000000000 +0200
|
||||||
|
@@ -1,3 +1,4 @@
|
||||||
|
+SHAREDIR= ${PREFIX}
|
||||||
|
MAN8= mhtpasswd.8 mohawk.8
|
||||||
|
|
||||||
|
.include <bsd.prog.mk>
|
|
@ -7,4 +7,4 @@ It provides the following features:
|
||||||
- basic authentication
|
- basic authentication
|
||||||
- basic url mapping system.
|
- basic url mapping system.
|
||||||
|
|
||||||
WWW: http://git.etoilebsd.net/mohawk
|
WWW: http://fossil.etoilebsd.net/mohawk
|
||||||
|
|
Loading…
Add table
Reference in a new issue