mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
3f627ab4ce
* Bump the LLVM revision used for GNUstep to 7, the minimum to support the new ABI. * GNUstep-back does not work with lld, so mark it to use Gold (BFD LD doesn't seem able to link Objective-C things). * Turn off some annoying debug logs in GNUstep back, which generate several messages per second when you move the mouse. These should never have been enabled in a release build anyway. * Downgrade Cenon to 4.0.2. This was the last version to actually work with GNUstep (the later ones use XCode >= 5 .xib files, which GNUstep can't parse). * Update gorm to git head. The current release doesn't work with the new Objective-C ABI, but -head has the patches to fix it. * Update PikoPixel and add it to the gnustep-app meta-package. * Update the three core GNUstep packages to the latest release. * Update gnumail and pantomime to the latest release and fix a linking error with the new ABI. * Update GNUstep FTP to the latest version. Reviewed by: bapt (previous version)
67 lines
2.2 KiB
Makefile
67 lines
2.2 KiB
Makefile
# Created by: Euan Thoms <euan@potensol.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sogo2
|
|
PORTVERSION= 2.3.23
|
|
PORTREVISION= 5
|
|
CATEGORIES= www gnustep
|
|
MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/
|
|
DISTNAME= SOGo-${PORTVERSION}
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Groupware server with a focus on scalability and open standards
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libmemcached.so:databases/libmemcached \
|
|
libcurl.so:ftp/curl \
|
|
libDOM.so:devel/sope2
|
|
|
|
OPTIONS_DEFINE= ACTIVESYNC
|
|
OPTIONS_SUB= yes
|
|
|
|
ACTIVESYNC_DESC= Enable support for ActiveSync protocol
|
|
|
|
ACTIVESYNC_LIB_DEPENDS= libwbxml2.so:textproc/wbxml2
|
|
|
|
USERS= sogod
|
|
GROUPS= sogod
|
|
|
|
USES= gnustep ssl objc
|
|
USE_GNUSTEP= base build
|
|
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}/sogo
|
|
|
|
CONFLICTS?= sogo[2-4]-activesync-[0-9]* sogo[3-4]-[0-9]*
|
|
|
|
USE_RC_SUBR= sogod
|
|
|
|
SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \
|
|
GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES}
|
|
ETCDIR= ${PREFIX}/etc/${PORTNAME:S/2//}
|
|
CONFIGURE_ARGS= --disable-debug --enable-strip
|
|
|
|
post-patch:
|
|
@${GREP} -rlF '/etc/sogo' ${WRKSRC} \
|
|
| ${XARGS} ${REINPLACE_CMD} 's#/etc/sogo#${PREFIX}/etc/sogo#g'
|
|
@${REINPLACE_CMD} -e 's|/usr/lib/GNUstep|${GNUSTEP_LOCAL_ROOT}/Library|' ${WRKSRC}/Apache/SOGo.conf
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure
|
|
|
|
post-patch-ACTIVESYNC-on:
|
|
@${REINPLACE_CMD} -e 's/Tools/Tools ActiveSync/' ${WRKSRC}/GNUmakefile
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS}
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}/var/spool/sogo
|
|
${MKDIR} ${STAGEDIR}${ETCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Scripts/sogo.conf ${STAGEDIR}${ETCDIR}/sogo.conf.sample
|
|
${INSTALL_DATA} ${WRKSRC}/Apache/SOGo.conf ${STAGEDIR}${ETCDIR}/SOGo-Apache.conf.sample
|
|
${INSTALL_DATA} ${WRKSRC}/Apache/SOGo-apple-ab.conf ${STAGEDIR}${ETCDIR}/SOGo-apple-ab.Apache.conf.sample
|
|
${INSTALL_DATA} ${FILESDIR}/expire-autoreply.creds.sample ${STAGEDIR}${ETCDIR}/
|
|
${INSTALL_DATA} ${FILESDIR}/ealarms-notify.creds.sample ${STAGEDIR}${ETCDIR}/
|
|
${INSTALL_DATA} ${FILESDIR}/cron-ealarms-notify.sample ${STAGEDIR}${PREFIX}/GNUstep/Local/Tools/Admin/
|
|
${INSTALL_DATA} ${FILESDIR}/cron-expire-autoreply.sample ${STAGEDIR}${PREFIX}/GNUstep/Local/Tools/Admin/
|
|
|
|
.include <bsd.port.mk>
|