summaryrefslogtreecommitdiff
path: root/www/sope/Makefile
blob: fc5212e264f5fc570e2865049dc0ab245db1c144 (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
# $NetBSD: Makefile,v 1.18 2012/04/07 17:36:40 dholland Exp $
#

DISTNAME=		sope-4.5.4-nevermind-r878
PKGNAME=		sope-4.5.4
PKGREVISION=		9
CATEGORIES=		www gnustep
MASTER_SITES=		http://download.opengroupware.org/nightly/sources/releases/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://sope.opengroupware.org/
COMMENT=		Set of frameworks for a complete web application server environment

BROKEN=	Not buildable for years and apparently superseded by devel/SOPE.

USE_LANGUAGES=		objc
USE_TOOLS+=		bash

WRKSRC=			${WRKDIR}/sope
USE_PKGLOCALEDIR=	yes
HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-gnustep
CONFIGURE_ARGS+=	--enable-strip
CONFIGURE_ARGS+=	--disable-debug
CONFIG_SHELL=		${BASH}
MAKE_ENV+=		ADDITIONAL_OBJCFLAGS="-Wno-import"

SUBST_CLASSES+=		paths
SUBST_FILES.paths=	${CONFIGURE_SCRIPT}
SUBST_SED.paths+=	-e 's,/usr/local,${PREFIX},g'
SUBST_STAGE.paths=	pre-configure

pre-configure:
	for f in ${WRKSRC}/*/config.guess ${WRKSRC}/*/*/config.guess; do \
	    ${CP} ${PKGSRCDIR}/mk/gnu-config/config.guess $$f; \
	done
	for f in ${WRKSRC}/*/config.sub ${WRKSRC}/*/*/config.sub; do \
	    ${CP} ${PKGSRCDIR}/mk/gnu-config/config.sub $$f; \
	done

post-configure:
	cd ${WRKSRC}/sope-core/NGStreams			&&	\
	${LN} -s `${FIND} ${GNUSTEP_HOST_CPU} -name config.h` .

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libFoundation/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../databases/openldap-client/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"