1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/comms/conserver-com/Makefile
Emanuel Haupt 5688f38556 - Support staging
- Strip binaries
2014-02-16 12:27:41 +00:00

47 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= conserver
PORTVERSION= 8.1.18
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://www.conserver.com/ \
ftp://ftp.conserver.com/conserver/
PKGNAMESUFFIX= -com
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Application that allows multiple users to watch serial consoles
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
--with-pam --with-libwrap --with-openssl
USE_RC_SUBR= conserver
OPTIONS_DEFINE= UDS GSSAPI GSSAPIONLY STRIPREALM
UDS_DESC= Use Unix domain sockets for client/server
STRIPREALM_DESC=Strip @REALM when using GSSAPI
GSSAPIONLY_DESC=Never prompt for a password when using GSSAPI
.include <bsd.port.options.mk>
DEFAULTPORT?= 782
DEFAULTHOST?= localhost
.if ${PORT_OPTIONS:MUDS}
CONFIGURE_ARGS+= --with-uds
.endif
.if ${PORT_OPTIONS:MGSSAPI}
CONFIGURE_ARGS+= --with-gssapi
.if ${PORT_OPTIONS:MSTRIPREALM}
CONFIGURE_ARGS+= --with-striprealm
.endif
.if ${PORT_OPTIONS:MGSSAPIONLY}
EXTRA_PATCHES= ${FILESDIR}/extra-patch-conserver__master.c
.endif
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/conserver-convert
.include <bsd.port.mk>