diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 1999-05-10 11:32:03 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 1999-05-10 11:32:03 +0000 |
commit | 680ad582e3d7b5c057c347570ba3f46db20443d3 (patch) | |
tree | 268b7d549442c22c32387853978ebcbe87481947 /lang/gnustep-objc/Makefile | |
parent | update to 3.34beta (diff) |
New port gnustep. GNUstep is a set of general-purpose Objective-C libraries
base on the OpenStep standard developed by NeXT (now Apple) Inc.
Notes
Notes:
svn path=/head/; revision=18728
Diffstat (limited to 'lang/gnustep-objc/Makefile')
-rw-r--r-- | lang/gnustep-objc/Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/lang/gnustep-objc/Makefile b/lang/gnustep-objc/Makefile new file mode 100644 index 000000000000..cd04a664fc82 --- /dev/null +++ b/lang/gnustep-objc/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: gnustep +# Version required: 0.5.5 +# Date created: 03 October 1998 +# Whom: Thomas Gellekum <tg@FreeBSD.ORG> +# +# $Id$ +# + +DISTNAME= gstep-core-0.5.5 +PKGNAME= gnustep-0.5.5 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/ \ + ftp://ftp.peanuts.org/Mirrors/GNUstep/gnustep/core/ + +MAINTAINER= ports@FreeBSD.ORG + +LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ + tiff.4:${PORTSDIR}/graphics/tiff34 + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 300000 +BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x" +.elif ${OSVERSION} < 400000 +BUILD_DEPENDS= egcc:${PORTSDIR}/lang/egcs +RUN_DEPENDS= egcc:${PORTSDIR}/lang/egcs +.endif + +WRKSRC= ${WRKDIR}/gstep-0.5.5 +PREFIX= ${LOCALBASE}/GNUstep +GNU_CONFIGURE= yes +CONFIGURE_ENV= CC=egcc INSTALL_PROGRAM="install -c" INSTALL_DATA="install -c" +CONFIGURE_ARGS= --with-library-combo=gnu-gnu-gnu-xraw \ + --with-jpeg-library=${LOCALBASE}/lib \ + --with-jpeg-include=${LOCALBASE}/include \ + --with-tiff-library=${LOCALBASE}/lib \ + --with-tiff-include=${LOCALBASE}/include +USE_GMAKE= yes +MAKEFILE= +MAKE_FLAGS= OPTFLAG="${CFLAGS}" +NO_MTREE= yes + +GNUSTEPLIBDIR= ${PREFIX}/Libraries/ix86/freebsd3.1/gnu-gnu-gnu-xraw + +post-install: +.for lib in gmodel gnustep-base gnustep-gui gnustep-xraw + ${LN} -sf ${GNUSTEPLIBDIR}/lib${lib}.so ${LOCALBASE}/lib/lib${lib}.so + ${LN} -sf ${GNUSTEPLIBDIR}/lib${lib}.so.0.5.5 \ + ${LOCALBASE}/lib/lib${lib}.so.0.5.5 +.endfor + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${LOCALBASE}/lib + +.include <bsd.port.post.mk> |