2004-07-22 07:48:22 +02:00
|
|
|
# New ports collection makefile for: netustad
|
2005-02-18 23:44:45 +01:00
|
|
|
# Date created: 9 February 2005
|
2004-08-05 07:28:13 +02:00
|
|
|
# Whom: Ozkan KIRIK <ozkan@enderunix.org>
|
2004-07-22 07:48:22 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= netustad
|
2005-02-18 23:44:45 +01:00
|
|
|
PORTVERSION= 0.3.1
|
2005-02-21 18:54:12 +01:00
|
|
|
PORTREVISION= 1
|
2004-07-22 07:48:22 +02:00
|
|
|
CATEGORIES= net-mgmt security
|
|
|
|
MASTER_SITES= http://www.enderunix.org/netustad/
|
|
|
|
|
2005-10-17 02:52:03 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-08-05 07:28:13 +02:00
|
|
|
COMMENT= A Web based admin tool that manages network services
|
2004-07-22 07:48:22 +02:00
|
|
|
|
2005-01-10 22:02:02 +01:00
|
|
|
#MAN8= netustad.8 netustadpasswd.8
|
|
|
|
#MAN5= netustad.conf.5
|
2004-07-22 07:48:22 +02:00
|
|
|
|
2004-08-05 07:28:13 +02:00
|
|
|
USE_RC_SUBR= yes
|
2005-01-10 22:02:02 +01:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS= SSL "Use netUstad with SSL support" on
|
|
|
|
|
2005-02-21 18:54:12 +01:00
|
|
|
PORT_DBDIR?= /var/db/ports
|
2006-07-29 22:34:49 +02:00
|
|
|
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
|
|
|
OPTIONSFILE?= ${PORT_DBDIR}/${LATEST_LINK}/options
|
2005-02-21 18:54:12 +01:00
|
|
|
|
|
|
|
.if exists(${OPTIONSFILE})
|
|
|
|
.include "${OPTIONSFILE}"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITHOUT_SSL)
|
2005-01-10 22:02:02 +01:00
|
|
|
USE_OPENSSL= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ssl
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --without-nls
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
#make portlint happy :)
|
|
|
|
.endif
|
|
|
|
|
2004-08-05 09:24:09 +02:00
|
|
|
SED_SCRIPT+= -e '{ s,%%PREFIX%%,${PREFIX},g; }'
|
2004-08-05 07:28:13 +02:00
|
|
|
|
|
|
|
post-build:
|
|
|
|
@${SED} ${SED_SCRIPT} ${FILESDIR}/netustad.sh >${WRKDIR}/netustad.sh
|
|
|
|
|
2004-07-22 07:48:22 +02:00
|
|
|
post-install:
|
2004-08-05 07:28:13 +02:00
|
|
|
@${CAT} ${PKGMESSAGE} | ${SED} ${SED_SCRIPT}
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/netustad.sh ${PREFIX}/etc/rc.d/
|
2004-07-22 07:48:22 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|