aboutsummaryrefslogtreecommitdiffstats
path: root/www/mohawk/Makefile
blob: 680cee003631cd343fc4a47a251478b7ed8c37c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    mohawk
# Date created:     2011-04-15
# Whom:         Baptiste Daroussin <bapt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mohawk
PORTVERSION=    0.9
CATEGORIES= www ipv6
MASTER_SITES=   http://files.etoilebsd.net/mohawk/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    Simple and lightweight HTTP daemon

LICENSE=    BSD

MAN1=   mhtpasswd.1
MAN8=   mohawk.8

PLIST_FILES+=   bin/mhtpasswd \
        sbin/mohawk \
        etc/mohawk.conf.sample

USE_RC_SUBR=    mohawk

.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800502
BROKEN=     does not build
.endif

post-patch:
    @${REINPLACE_CMD} -e '/.*rc.d\/mohawk.*/d' ${WRKSRC}/Makefile

post-install:
    @${INSTALL_DATA} ${WRKSRC}/mohawk.conf ${PREFIX}/etc/mohawk.conf.sample

.include <bsd.port.post.mk>