2001-06-26 14:02:37 +02:00
|
|
|
# New ports collection makefile for: gnustep-gui
|
|
|
|
# Date created: 19 April 2001
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1999-05-10 13:32:03 +02:00
|
|
|
#
|
1999-08-25 07:57:29 +02:00
|
|
|
# $FreeBSD$
|
1999-05-10 13:32:03 +02:00
|
|
|
#
|
|
|
|
|
2001-06-26 14:02:37 +02:00
|
|
|
PORTNAME= gnustep-gui
|
2006-08-31 07:37:04 +02:00
|
|
|
PORTVERSION= 0.11.0
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2007-01-31 19:18:14 +01:00
|
|
|
CATEGORIES= x11-toolkits gnustep
|
2004-01-31 13:16:18 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNUSTEP}
|
2002-12-23 23:13:53 +01:00
|
|
|
MASTER_SITE_SUBDIR= core
|
1999-05-10 13:32:03 +02:00
|
|
|
|
2002-06-07 19:34:38 +02:00
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
2003-02-20 19:26:42 +01:00
|
|
|
COMMENT= GNUstep GUI library
|
1999-05-10 13:32:03 +02:00
|
|
|
|
2002-10-20 18:39:06 +02:00
|
|
|
LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff
|
2004-03-05 16:03:21 +01:00
|
|
|
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
|
2002-10-30 05:18:58 +01:00
|
|
|
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
2004-03-05 16:03:21 +01:00
|
|
|
LIB_DEPENDS+= ungif.5:${PORTSDIR}/graphics/libungif
|
1999-05-10 13:32:03 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2000-08-23 12:49:48 +02:00
|
|
|
CONFIGURE_TARGET=
|
2002-10-20 18:39:06 +02:00
|
|
|
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
|
2004-03-05 16:03:21 +01:00
|
|
|
CONFIGURE_ARGS+= --with-x
|
|
|
|
CONFIGURE_ARGS+= --with-x-include=${X11BASE}/include
|
|
|
|
CONFIGURE_ARGS+= --with-x-include=${X11BASE}/lib
|
2003-08-28 03:42:30 +02:00
|
|
|
USE_GNUSTEP= yes
|
2006-03-19 05:35:47 +01:00
|
|
|
USE_GNUSTEP_PREFIX= yes
|
2003-04-13 09:38:27 +02:00
|
|
|
USE_GNUSTEP_CONFIGURE= yes
|
|
|
|
USE_GNUSTEP_BUILD= yes
|
|
|
|
USE_GNUSTEP_INSTALL= yes
|
|
|
|
USE_GNUSTEP_BASE= yes
|
2007-01-13 04:57:25 +01:00
|
|
|
USE_GNUSTEP_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES}
|
2006-12-10 15:08:40 +01:00
|
|
|
USE_XLIB= yes
|
|
|
|
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/GNUmakefile.patch
|
2007-02-25 14:24:12 +01:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
2003-08-28 03:42:30 +02:00
|
|
|
MAKE_FLAGS+= OPTFLAG="${CFLAGS}"
|
|
|
|
BREAKS_IF_PEDANTIC= yes
|
2004-11-07 22:47:05 +01:00
|
|
|
|
|
|
|
PLIST_SUB+= BASEVERSION=${PORTVERSION:C/[.][0-9]*$//1}
|
2000-09-21 14:01:41 +02:00
|
|
|
|
2006-01-16 14:11:15 +01:00
|
|
|
.if defined(WITHOUT_GNUSTEP_FAKEMAIN)
|
2004-12-15 05:15:10 +01:00
|
|
|
.if !exists(/proc/curproc)
|
2005-04-03 07:23:01 +02:00
|
|
|
IGNORE= requires procfs mounted to build or run, for details see procfs(5)
|
2006-05-13 10:27:06 +02:00
|
|
|
.endif
|
|
|
|
.endif
|
2004-12-10 00:50:28 +01:00
|
|
|
|
2007-02-25 14:24:12 +01:00
|
|
|
.if defined(WITH_PORTAUDIO2)
|
|
|
|
LIB_DEPENDS+= portaudio:${PORTSDIR}/audio/portaudio2
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include/portaudio2 ${PTHREAD_CFLAGS}
|
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS}
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib/portaudio2 ${PTHREAD_LIBS}
|
|
|
|
.endif
|
|
|
|
|
2006-01-16 12:37:29 +01:00
|
|
|
.if !defined(WITHOUT_CUPS)
|
|
|
|
LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
|
|
|
|
PLIST_SUB+= WITH_CUPS=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_CUPS="@comment "
|
|
|
|
.endif
|
|
|
|
|
2007-01-18 13:42:54 +01:00
|
|
|
ASPELL_PORT?= textproc/aspell
|
2006-01-24 11:21:15 +01:00
|
|
|
.if !defined(WITHOUT_ASPELL)
|
|
|
|
LIB_DEPENDS+= aspell:${PORTSDIR}/${ASPELL_PORT}
|
|
|
|
PLIST_SUB+= WITH_ASPELL=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_ASPELL="@comment "
|
|
|
|
.endif
|
|
|
|
|
2004-04-07 22:45:59 +02:00
|
|
|
pre-configure:
|
2001-12-24 11:37:45 +01:00
|
|
|
.for file in config.guess config.sub install-sh
|
2005-08-28 21:19:23 +02:00
|
|
|
@${CP} ${PREFIX}/System/Library/Makefiles/${file} ${WRKSRC}
|
2000-09-21 14:01:41 +02:00
|
|
|
.endfor
|
2003-10-19 13:14:50 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${REINPLACE_CMD} -e "s|doc=no|doc=yes|" ${WRKSRC}/GNUmakefile
|
|
|
|
.endif
|
2002-12-23 23:13:53 +01:00
|
|
|
|
2003-08-28 03:42:30 +02:00
|
|
|
.include <bsd.port.mk>
|