aboutsummaryrefslogtreecommitdiff
path: root/devel/gnustep-make/Makefile
blob: 6dac5b965d60d2d56804bddb763de40d101530a5 (plain) (blame)
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
62
63
64
65
66
67
68
# New ports collection makefile for:    gnustep-make
# Date created:         17 April 2001
# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gnustep-make
PORTVERSION=	2.0.0
CATEGORIES=	devel gnustep
MASTER_SITES=	${MASTER_SITE_GNUSTEP}
MASTER_SITE_SUBDIR=	core

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

USE_GNUSTEP=	yes
USE_GNUSTEP_PREFIX=	yes

GNU_CONFIGURE=	yes
CONFIGURE_TARGET=
MAKE_FLAGS=	OPTFLAG="${CFLAGS}"
CFLAGS+=	${PTHREAD_CFLAGS}
CONFIGURE_ENV+=	INSTALL_PROGRAM="${INSTALL} -c" INSTALL_DATA="${INSTALL} -c" \
		CFLAGS="${CFLAGS}"
CONFIGURE_ARGS+=	--with-thread-lib="${PTHREAD_LIBS}"
CONFIGURE_ARGS+=	--with-config-file=${PREFIX}/GNUstep.conf

.if defined(GNUSTEP_WITH_BASE_GCC)
GNUSTEP_WITHOUT_LIBOBJC=	yes
.endif

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

.include <bsd.port.mk>