aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/netustad/Makefile
blob: f2a5719a0658361bc1818b0a8833735e7afb2c59 (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
40
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:   netustad
# Date created:                 9 February 2005
# Whom:                         Ozkan KIRIK <ozkan@enderunix.org>
#
# $FreeBSD$
#

PORTNAME=   netustad
PORTVERSION=    0.3.1
PORTREVISION=   5
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

#MAN8=      netustad.8 netustadpasswd.8
#MAN5=      netustad.conf.5

USE_RC_SUBR=    ${PORTNAME}
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes

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

LATEST_LINK=    ${PORTNAME}${PKGNAMESUFFIX}

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSSL}
USE_OPENSSL=    yes
.else
CONFIGURE_ARGS+=    --without-ssl
.endif

.if empty(PORT_OPTIONS:MNLS)
CONFIGURE_ARGS+=    --without-nls
.endif

.if defined(NOPORTDOCS)
post-patch:
    ${REINPLACE_CMD} "s/^install-data-am:.*/install-data-am:/" ${WRKSRC}/Makefile.in
.endif

post-install:
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>