summaryrefslogtreecommitdiff
path: root/devel/gnustep-make/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnustep-make/Makefile')
-rw-r--r--devel/gnustep-make/Makefile38
1 files changed, 13 insertions, 25 deletions
diff --git a/devel/gnustep-make/Makefile b/devel/gnustep-make/Makefile
index c1b8fa61d1fc..d2afed001181 100644
--- a/devel/gnustep-make/Makefile
+++ b/devel/gnustep-make/Makefile
@@ -1,22 +1,19 @@
-# New ports collection makefile for: gnustep
-# Date created: 03 October 1998
+# New ports collection makefile for: gnustep-make
+# Date created: 17 April 2001
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
-PORTNAME= gnustep
-PORTVERSION= 0.6.6
+PORTNAME= gnustep-make
+PORTVERSION= 1.0.1
CATEGORIES= devel
-MASTER_SITES= http://ftp.codefactory.se/pub/gnu/gstep/ \
+MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/ \
+ http://ftp.codefactory.se/pub/gnu/gstep/ \
http://planetmirror.com/pub/gnustep/core/
-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
@@ -25,18 +22,10 @@ BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x"
USE_NEWGCC= yes
PREFIX= ${LOCALBASE}/GNUstep
-WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL} -c" INSTALL_DATA="${INSTALL} -c"
-CONFIGURE_ARGS= --with-library-combo=gnu-gnu-gnu-xgps \
- --with-jpeg-library=${LOCALBASE}/lib \
- --with-jpeg-include=${LOCALBASE}/include \
- --with-tiff-library=${LOCALBASE}/lib \
- --with-tiff-include=${LOCALBASE}/include # --enable-threads=posix
CONFIGURE_TARGET=
-USE_BISON= yes
USE_GMAKE= yes
-USE_XLIB= yes
MAKEFILE=
MAKE_FLAGS= OPTFLAG="${CFLAGS}"
NO_MTREE= yes
@@ -46,18 +35,17 @@ GNU_ARCH= ix86
.else
GNU_ARCH= ${MACHINE_ARCH}
.endif
-PLIST_SUB+= GNU_ARCH=${GNU_ARCH} VERSION=${PORTVERSION}
-
-ETCDIR= ${PREFIX}/../etc
+PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION}
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
+.for f in gswapp gswbundle woapp wobundle
+ ${PERL} -pi -e 's/\$$\(TAR\) ch --exclude=CVS --to-stdout/\$$\(TAR\) -ch --exclude=CVS -f -/g' ${WRKSRC}/${f}.make
.endfor
post-install:
- @${MKDIR} ${ETCDIR}
- ${INSTALL_SCRIPT} ${FILESDIR}/GNUstep.sh ${ETCDIR}/rc.d
- ${INSTALL_DATA} ${FILESDIR}/gdomap_if ${ETCDIR}
+ ${SED} -e "s/\(objc_threaded:=\)/\1 ${PTHREAD_LIBS}/" \
+ < ${WRKSRC}/config.make \
+ > ${PREFIX}/System/Makefiles/${GNU_ARCH}/${OPSYS:L}/config.make
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>