56fe7a4c6a
all the ports that use them accordingly. PR: 13205 Submitted by: Ade Lovett <ade@lovett.com>
58 lines
1.7 KiB
Makefile
58 lines
1.7 KiB
Makefile
# New ports collection makefile for: gnustep
|
|
# Version required: 0.5.5
|
|
# Date created: 03 October 1998
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
|
|
#
|
|
# $Id: Makefile,v 1.3 1999/07/18 06:28:44 cpiazza Exp $
|
|
#
|
|
|
|
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= gcc295:${PORTSDIR}/lang/egcs
|
|
RUN_DEPENDS= gcc295:${PORTSDIR}/lang/egcs
|
|
CC= gcc295
|
|
.endif
|
|
|
|
BROKEN= "Hardcoded freebsd release numbers in PLIST"
|
|
|
|
WRKSRC= ${WRKDIR}/gstep-0.5.5
|
|
PREFIX= ${LOCALBASE}/GNUstep
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= 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
|
|
USE_XLIB= 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>
|