aboutsummaryrefslogtreecommitdiffstats
path: root/net/vserver/Makefile
blob: a474e4dd40927ab9468613aabd7afb2b2d8411bb (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
# Created by: Andreas Wetzel <mickey@netassembly.de>
# $FreeBSD$

PORTNAME=   vserver
PORTVERSION=    2.43c
CATEGORIES= net
MASTER_SITES=   http://www.enforcer.cc/vchat/filez/

MAINTAINER= mickey@enforcer.cc
COMMENT=    Server software of the VChat conference system

HAS_CONFIGURE=  yes
CONFIGURE_ARGS+=    --prefix="${PREFIX}" --mandir="${PREFIX}/man"
USE_RC_SUBR=    vserver

MAN8=       vchatctl.8 vserver.8

VCHATUSER=  vchat
VCHATGROUP= vchat

SUB_FILES=  pkg-install pkg-deinstall
SUB_LIST+=  VCHATUSER=${VCHATUSER} \
        VCHATGROUP=${VCHATGROUP}

PLIST_FILES=    sbin/vserver sbin/vchatctl \
        "@dirrmtry etc/vchat"

NO_STAGE=   yes
pre-install:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

post-install:
    @${SETENV} PKG_PREFIX=${PREFIX} \
        ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>