mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
d63665f7cd
This is a separate commit to facilitate easier cherry-picking for quarterly. PR: 262853, 262940, 262877, 263126 Approved by: fluffy (mentor)
63 lines
1.8 KiB
Makefile
63 lines
1.8 KiB
Makefile
# Created by: Euan Thoms <euan@potensol.com>
|
|
|
|
PORTNAME= sope2
|
|
PORTVERSION= 2.4.1
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel gnustep
|
|
MASTER_SITES= http://www.sogo.nu/files/downloads/SOGo/Sources/
|
|
DISTNAME= SOPE-${PORTVERSION}
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Extensive set of GNUstep web application frameworks
|
|
|
|
LICENSE= LGPL20
|
|
|
|
BROKEN_aarch64= fails to build: bundle.make:301: STXSaxDriver.sax/Resources/Info-gnustep.plist] Abort trap (core dumped)
|
|
|
|
LIB_DEPENDS= libxml2.so:textproc/libxml2 \
|
|
libmemcached.so:databases/libmemcached
|
|
|
|
WRKSRC= ${WRKDIR}/SOPE
|
|
|
|
OPTIONS_DEFINE= LDAP MYSQL PGSQL MEMCACHED
|
|
OPTIONS_DEFAULT= LDAP PGSQL MEMCACHED
|
|
OPTIONS_SUB= yes
|
|
|
|
LDAP_DESC= Build with LDAP support
|
|
MYSQL_DESC= Build with MySQL support
|
|
PGSQL_DESC= Build with PostgreSQL support
|
|
MEMCACHED_DESC= Install memcached
|
|
|
|
USES= gmake iconv gnustep ssl
|
|
USE_GNUSTEP= base build
|
|
USE_LDCONFIG= ${GNUSTEP_LOCAL_LIBRARIES}
|
|
LLD_UNSAFE= yes # PR 230608
|
|
|
|
SUB_LIST+= GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \
|
|
GNUSTEP_MAKEFILES=${GNUSTEP_MAKEFILES}
|
|
|
|
CONFIGURE_ARGS= --with-gnustep --disable-debug --enable-strip
|
|
|
|
LDAP_USE= OPENLDAP=client
|
|
PGSQL_USES= pgsql
|
|
MYSQL_USES= mysql
|
|
MEMCACHED_RUN_DEPENDS= ${LOCALBASE}/bin/memcached:databases/memcached
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|gcc|${CC}|g' ${WRKSRC}/sope-core/NGStreams/configure
|
|
|
|
post-patch-LDAP-off:
|
|
@${REINPLACE_CMD} -e '/checkLinking "ldap"/d' ${WRKSRC}/configure
|
|
|
|
post-patch-PGSQL-off:
|
|
@${REINPLACE_CMD} -e '/checkLinking "pq"/d' ${WRKSRC}/configure
|
|
|
|
post-patch-MYSQL-off:
|
|
@${REINPLACE_CMD} -e '/checkLinking "mysqlclient"/d' ${WRKSRC}/configure
|
|
|
|
do-configure:
|
|
cd ${WRKSRC} ; . ${GNUSTEP_MAKEFILES}/GNUstep.sh ; ./configure ${CONFIGURE_ARGS}
|
|
|
|
.include <bsd.port.mk>
|