aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gnustep-gui/Makefile
blob: d7fd650347cd6de7169ab7541b83544e6de7cc75 (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
69
70
71
72
# New ports collection makefile for:    gnustep-gui
# Date created:         19 April 2001
# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gnustep-gui
PORTVERSION=    0.10.2
PORTREVISION=   1
CATEGORIES= x11-toolkits
MASTER_SITES=   ${MASTER_SITE_GNUSTEP}
MASTER_SITE_SUBDIR= core

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    GNUstep GUI library

LIB_DEPENDS+=   tiff.4:${PORTSDIR}/graphics/tiff
LIB_DEPENDS+=   png.5:${PORTSDIR}/graphics/png
LIB_DEPENDS+=   audiofile.0:${PORTSDIR}/audio/libaudiofile
LIB_DEPENDS+=   ungif.5:${PORTSDIR}/graphics/libungif

NOT_FOR_ARCHS=  ia64
PREFIX=     ${LOCALBASE}/GNUstep
NO_MTREE=   yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=
CONFIGURE_ARGS+=    --with-tiff-library=${LOCALBASE}/lib
CONFIGURE_ARGS+=    --with-tiff-include=${LOCALBASE}/include
CONFIGURE_ARGS+=    --with-jpeg-library=${LOCALBASE}/lib
CONFIGURE_ARGS+=    --with-jpeg-include=${LOCALBASE}/include
CONFIGURE_ARGS+=    --with-x
CONFIGURE_ARGS+=    --with-x-include=${X11BASE}/include
CONFIGURE_ARGS+=    --with-x-include=${X11BASE}/lib
USE_XLIB=   yes
EXTRA_PATCHES+=     ${FILESDIR}/GNUmakefile.patch
USE_GMAKE=  yes
USE_GNUSTEP=    yes
USE_GNUSTEP_CONFIGURE=  yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes
USE_GNUSTEP_BASE=   yes
MAKEFILE=
MAKE_FLAGS+=    OPTFLAG="${CFLAGS}"
BREAKS_IF_PEDANTIC= yes
USE_REINPLACE=  yes
NO_FILTER_SHLIBS=   yes

PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1}

.if defined(WITHOUT_GNUSTEP_FAKEMAIN)
.if !exists(/proc/curproc)
IGNORE=     requires procfs mounted to build or run, for details see procfs(5)
.endif 
.endif 

.if !defined(WITHOUT_CUPS)
LIB_DEPENDS+=   cups.2:${PORTSDIR}/print/cups-base
PLIST_SUB+= WITH_CUPS=""
.else
PLIST_SUB+= WITH_CUPS="@comment "
.endif

pre-configure:
.for file in config.guess config.sub install-sh
    @${CP} ${PREFIX}/System/Library/Makefiles/${file} ${WRKSRC}
.endfor
.if !defined(NOPORTDOCS)
    ${REINPLACE_CMD} -e "s|doc=no|doc=yes|" ${WRKSRC}/GNUmakefile
.endif

.include <bsd.port.mk>
rs/kqemu-kmod-devel?h=gstreamer0.10-removal&id=d80228cf0dc116c2dafb830ad725222402f7d574'>- Try and pass appropriate -DKSE and/or -DSMP to the compilationnox2007-07-152-3/+28 * These install kernel modules, so add new virtual category kld.linimon2007-06-291-1/+1 * - Remove unneeded USE_GCC, turns out the build didnt respect it anyway.nox2007-06-231-1/+0 * Update to 1.3.0pre11:nox2007-02-082-7/+16 * Update to 1.3.0pre10:nox2007-02-073-15/+18 * Replace devfs test with osversion check to fix tinderbox buildnox2007-01-231-7/+5 * Non-redistributable packages should be RESTRICTED, not NO_PACKAGE. Also wekris2007-01-211-1/+1 * Update MAINTAINER email address of my portsnox2006-12-241-1/+1 * - Fix rc script for 6.Xmiwi2006-12-222-2/+6