blob: 7d75d884af35e5f69d1a45d5d70c51639fd4fabf (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# New ports collection makefile for: iserverd
# Date created: Sun Jun 10 17:51:00 GMT 2007
# Whom: Denis Rakhmangulov <danfocus@gmail.com>
#
# $FreeBSD$
#
PORTNAME= iserverd
PORTVERSION= 2.5.5
PORTREVISION= 3
CATEGORIES= net-im
MASTER_SITES= http://iserverd.khstu.ru/download/
MAINTAINER= danfocus@gmail.com
COMMENT= Groupware ICQ server clone
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
USE_PGSQL= YES
GNU_CONFIGURE= YES
USE_RC_SUBR= iserverd
OPTIONS= KQUEUE "Use kqueue(2) instead of poll(2)" on \
DEBUG "Enable debugging symbols" off
CONFIGURE_ARGS= --with-pgsql=${LOCALBASE} \
--with-bindir=${PREFIX}/bin \
--with-etcdir=${PREFIX}/etc/iserverd \
--with-vardir=/var/run/iserverd \
--with-sbindir=${PREFIX}/bin \
--with-mandir=${PREFIX}/man \
--with-logdir=/var/log/iserverd
MAN1= db_convert.1
MAN5= iserv.conf.5 v3_proto.conf.5 v5_proto.conf.5
MAN8= iserverd.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.endif
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=--enable-debug
.endif
.if defined(WITH_KQUEUE)
CONFIGURE_ARGS+=--with-kqueue
.endif
post-install:
@${SETENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CHMOD} 644 ${PREFIX}/etc/iserverd/iserv.conf.default
@${CHMOD} 644 ${PREFIX}/etc/iserverd/aim_proto.conf
@${CHMOD} 644 ${PREFIX}/etc/iserverd/actions.conf.default
@${CHMOD} 644 ${PREFIX}/etc/iserverd/v3_proto.conf.default
@${CHMOD} 644 ${PREFIX}/etc/iserverd/v5_proto.conf.default
@${CHMOD} 644 ${PREFIX}/etc/iserverd/v7_proto.conf.default
@${CHMOD} 644 ${PREFIX}/etc/iserverd/texts/*
@${CHMOD} 644 ${PREFIX}/etc/iserverd/translate/*
@${CHOWN} -R iserv /var/log/iserverd
@${CHOWN} -R iserv /var/run/iserverd
.include <bsd.port.post.mk>
|