diff options
author | demon <demon@FreeBSD.org> | 2004-01-01 10:48:49 +0000 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2004-01-01 10:48:49 +0000 |
commit | 4615977e679224f727dbbaa66f6314efa5a6c476 (patch) | |
tree | 349619d30f25c7a0779991b5b45ff40139a0ebd2 /net/jabberd/Makefile | |
parent | 4e4fe2ff81906129834b36119f40606e66e2edb3 (diff) | |
download | FreeBSD-ports-4615977e679224f727dbbaa66f6314efa5a6c476.zip FreeBSD-ports-4615977e679224f727dbbaa66f6314efa5a6c476.tar.gz |
Set the appropriate permissions for config files;
Add dependency to libiconv;
Compile with debug messages unless WITHOUT_DEBUG is set;
Minor spelling nit.
Diffstat (limited to 'net/jabberd/Makefile')
-rw-r--r-- | net/jabberd/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/net/jabberd/Makefile b/net/jabberd/Makefile index 9f16601..638bd4d 100644 --- a/net/jabberd/Makefile +++ b/net/jabberd/Makefile @@ -15,15 +15,20 @@ DIST_SUBDIR= jabber MAINTAINER= demon@FreeBSD.org COMMENT= Online presence and instant messaging server +LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \ --enable-storage='${STORAGE}' \ - --enable-authreg='${AUTHREG}' \ - --enable-debug + --enable-authreg='${AUTHREG}' STORAGE+= fs AUTHREG+= anon pipe +.if !defined(WITHOUT_DEBUG) +CONFIGURE_ARGS+=--enable-debug +.endif + .if defined(WITH_PGSQL) LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql-client CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}/include:${LOCALBASE}/lib @@ -55,7 +60,7 @@ MAN8= c2s.8 jabberd.8 resolver.8 router.8 s2s.8 sm.8 pre-everything:: @${ECHO} - @${ECHO} "You can build jabberd with the following options:" + @${ECHO} "You can build Jabber with the following options:" @${ECHO} "WITH_PGSQL use PostgreSQL for storage and authentication" @${ECHO} "WITH_BDB use Berkeley DB for storage and authentication" @${ECHO} "WITH_MYSQL use MySQL for storage and authentication" @@ -71,5 +76,8 @@ post-install: ${ECHO} "Installing ${PREFIX}/etc/rc.d/jabberd.sh startup file."; \ ${INSTALL_SCRIPT} ${FILESDIR}/jabberd.sh ${PREFIX}/etc/rc.d/jabberd.sh; \ fi + @${CHOWN} -R jabber:jabber ${PREFIX}/etc/jabberd + @${FIND} ${PREFIX}/etc/jabberd -type d | ${XARGS} ${CHMOD} 750 + @${FIND} ${PREFIX}/etc/jabberd -type f | ${XARGS} ${CHMOD} 660 .include <bsd.port.mk> |