summaryrefslogtreecommitdiffstats
path: root/net-mgmt/netustad/Makefile
blob: 3608335e5d5186a428821d493d685d7b648d1184 (plain)
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
# 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=	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

SSL_USE=		OPENSSL=yes
SSL_CONFIGURE_WITH=	ssl

NLS_CONFIGURE_WITH=	nls

post-patch-DOCS-off:
	${REINPLACE_CMD} "s/^install-data-am:.*/install-data-am:/" ${WRKSRC}/Makefile.in

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud