aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/iserverd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/iserverd/Makefile')
-rw-r--r--net-im/iserverd/Makefile57
1 files changed, 57 insertions, 0 deletions
diff --git a/net-im/iserverd/Makefile b/net-im/iserverd/Makefile
new file mode 100644
index 000000000000..dd45ce8d9c9e
--- /dev/null
+++ b/net-im/iserverd/Makefile
@@ -0,0 +1,57 @@
+# 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
+CATEGORIES= net-im
+MASTER_SITES= http://iserverd.khstu.ru/download/
+DISTNAME= IServerd-stable
+
+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-mandir=${PREFIX}/man \
+ --with-sbindir=${PREFIX}/bin \
+ --with-logdir=/var/log/iserverd \
+
+.if defined(WITH_DEBUG)
+CONFIGURE_ARGS+=--enable-debug
+.endif
+.if defined(WITH_KQUEUE)
+CONFIGURE_ARGS+=--with-kqueue
+.endif
+
+MAN1= db_convert.1
+MAN5= iserv.conf.5 v3_proto.conf.5 v5_proto.conf.5
+MAN8= iserverd.8
+
+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.mk>