Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / comms / conserver / Makefile
blob0e9da77ba133238e76224f428a8d83ff8ed0d7b7
1 # $NetBSD: Makefile,v 1.24 2011/03/14 12:11:50 zafer Exp $
4 DISTNAME= conserver-7.2.7
5 PKGREVISION= 3
6 CATEGORIES= comms
7 MASTER_SITES= http://www.conserver.com/
9 MAINTAINER= pkgsrc-users@NetBSD.org
10 HOMEPAGE= http://www.conserver.com/
11 COMMENT= Application that allows multiple users to watch serial consoles
13 PKG_INSTALLATION_TYPES= overwrite pkgviews
15 GNU_CONFIGURE= YES
16 CONFLICTS+= conserver8-[0-9]*
18 CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
19 CONFIGURE_ARGS+= --with-master=${CONSERVER_DEFAULTHOST:Q}
20 CONFIGURE_ARGS+= --with-port=${CONSERVER_DEFAULTPORT:Q}
21 CONFIGURE_ARGS+= --with-regex
22 CONFIGURE_ARGS+= --with-libwrap
23 CONFIGURE_ARGS+= --with-logfile=${VARBASE}/log/conserver
25 .if ${MACHINE_ARCH} == alpha || ${MACHINE_ARCH} == sparc64 || \
26 ${MACHINE_ARCH} == x86_64
27 CONFIGURE_ARGS+= --with-64bit
28 .endif
30 BUILD_DEFS+= CONSERVER_DEFAULTPORT CONSERVER_DEFAULTHOST
32 RCD_SCRIPTS= conserver
34 TEST_TARGET= test
36 EGDIR= ${PREFIX}/share/examples/conserver
37 CONF_FILES= ${EGDIR}/conserver.cf.example ${PKG_SYSCONFDIR}/conserver.cf
38 CONF_FILES+= ${EGDIR}/conserver.passwd.example ${PKG_SYSCONFDIR}/conserver.passwd
39 OWN_DIRS= ${VARBASE}/consoles
41 SUBST_CLASSES+= conf
42 SUBST_STAGE.conf= post-patch
43 SUBST_FILES.conf= conserver.cf/conserver.cf
44 SUBST_SED.conf= -e s,/var/consoles,${VARBASE}/consoles,
46 INSTALLATION_DIRS+= ${EGDIR}
48 .include "../../security/tcp_wrappers/buildlink3.mk"
49 .include "../../mk/bsd.pkg.mk"