1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/devel/gnustep-make/Makefile

64 lines
1.6 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gnustep
# Date created: 03 October 1998
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
1999-08-25 05:57:29 +00:00
# $FreeBSD$
#
2000-04-11 21:30:15 +00:00
PORTNAME= gnustep
2000-08-23 10:49:48 +00:00
PORTVERSION= 0.6.6
CATEGORIES= devel
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/ \
ftp://ftp.peanuts.org/Mirrors/GNUstep/gnustep/core/
2000-04-11 21:30:15 +00:00
DISTNAME= gstep-core-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
tiff.4:${PORTSDIR}/graphics/tiff
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x"
.endif
1999-09-09 10:25:57 +00:00
USE_NEWGCC= yes
PREFIX= ${LOCALBASE}/GNUstep
2000-08-23 10:49:48 +00:00
WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL} -c" INSTALL_DATA="${INSTALL} -c"
1999-09-09 10:25:57 +00:00
CONFIGURE_ARGS= --with-library-combo=gnu-gnu-gnu-xgps \
--with-jpeg-library=${LOCALBASE}/lib \
--with-jpeg-include=${LOCALBASE}/include \
--with-tiff-library=${LOCALBASE}/lib \
2000-08-23 10:49:48 +00:00
--with-tiff-include=${LOCALBASE}/include # --enable-threads=posix
CONFIGURE_TARGET=
2000-09-28 11:14:45 +00:00
USE_BISON= yes
USE_GMAKE= yes
USE_XLIB= yes
MAKEFILE=
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
NO_MTREE= yes
1999-09-09 10:25:57 +00:00
.if ${MACHINE_ARCH} == "i386"
GNU_ARCH= ix86
.else
GNU_ARCH= ${MACHINE_ARCH}
.endif
2000-08-23 10:49:48 +00:00
PLIST_SUB+= GNU_ARCH=${GNU_ARCH} VERSION=${PORTVERSION}
ETCDIR= ${PREFIX}/../etc
post-patch:
.for f in bundle gswapp gswbundle woapp wobundle
${PERL} -pi -e 's/\$$\(TAR\) ch --exclude=CVS --to-stdout/\$$\(TAR\) -ch --exclude=CVS -f -/g' ${WRKSRC}/make/${f}.make
.endfor
post-install:
@${MKDIR} ${ETCDIR}
${INSTALL_SCRIPT} ${FILESDIR}/GNUstep.sh ${ETCDIR}/rc.d
${INSTALL_DATA} ${FILESDIR}/gdomap_if ${ETCDIR}
.include <bsd.port.post.mk>