aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netustad/Makefile
blob: 548af1cf63d2acd1c63aaddde819ee8cd023edcb (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
39
# Created by: Ozkan KIRIK <ozkan@enderunix.org>
# $FreeBSD$

PORTNAME=   netustad
PORTVERSION=    0.3.1
PORTREVISION=   6
CATEGORIES= net-mgmt security
MASTER_SITES=   http://www.enderunix.org/netustad/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Web based admin tool that manages network services

USE_RC_SUBR=    ${PORTNAME}
USES=       gettext
GNU_CONFIGURE=  yes
SUB_FILES=  pkg-message

OPTIONS_DEFINE= SSL NLS DOCS
OPTIONS_DEFAULT=SSL
SSL_DESC=   Use netUstad with SSL support

LATEST_LINK=    ${PORTNAME}${PKGNAMESUFFIX}

SSL_USE=        OPENSSL=yes
SSL_CONFIGURE_WITH= ssl

NLS_CONFIGURE_WITH= nls

.include <bsd.port.options.mk>

.if ! ${PORT_OPTIONS:MDOCS}
post-patch:
    ${REINPLACE_CMD} "s/^install-data-am:.*/install-data-am:/" ${WRKSRC}/Makefile.in
.endif

post-install:
    @${MV} ${STAGEDIR}${ETCDIR}/netustad.conf-dist ${STAGEDIR}${ETCDIR}/netustad.conf.sample

.include <bsd.port.mk>