summaryrefslogtreecommitdiffstats
path: root/devel/gnustep-make/Makefile
blob: a3c2acab539b665bfe79e97221f9b9afeaa9a076 (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
53
54
55
56
57
58
59
60
61
# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gnustep-make
PORTVERSION=	2.7.0
CATEGORIES=	devel gnustep
MASTER_SITES=	GNUSTEP/core

MAINTAINER=	theraven@FreeBSD.org
COMMENT=	GNUstep makefile package

LICENSE=	GPLv3

USES=		gnustep objc shebangfix
GNU_CONFIGURE=	yes
SHEBANG_FILES=	bake_debian_files.sh

MAKE_FLAGS=	OPTFLAG="${CFLAGS}"
CONFIGURE_ENV+=	INSTALL_PROGRAM="${INSTALL} -c" INSTALL_DATA="${INSTALL} -c"
CONFIGURE_ARGS+=	--with-thread-lib=-pthread
CONFIGURE_ARGS+=	--with-config-file=${GNUSTEP_PREFIX}/GNUstep.conf
CONFIGURE_ARGS+=	--with-layout=gnustep
CONFIGURE_ARGS+=	--enable-objc-nonfragile-abi --enable-native-objc-exceptions
GNU_CONFIGURE_PREFIX=	${GNUSTEP_PREFIX}

post-install:
	${LN} -s Library/Makefiles ${STAGEDIR}${GNUSTEP_PREFIX}/System/
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Applications
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/ApplicationSupport
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Bundles
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/ColorPickers
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Colors
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/DocTemplates
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Documentation/info
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Documentation/man
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Documentation/Developer
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Documentation/User
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Fonts
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Frameworks
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Headers
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Images
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/KeyBindings
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Libraries/Java
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Libraries/Resources
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/PostScript
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Services
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Library/Sounds
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Tools/Java
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/System/Tools/Resources
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Applications
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/ApplicationSupport
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Bundles
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Documentation
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Frameworks
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Headers
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Libraries
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Preferences
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Library/Services
	-${MKDIR} ${STAGEDIR}${GNUSTEP_PREFIX}/Local/Tools/Resources

.include <bsd.port.mk>
OpenPOWER on IntegriCloud