# New ports collection makefile for: gnustep-make # Date created: 17 April 2001 # Whom: Thomas Gellekum # # $FreeBSD$ # PORTNAME= gnustep-make PORTVERSION= 1.5.1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNUSTEP} \ ftp://ftp.gnustep.org/pub/gnustep/%SUBDIR%/ \ http://archive.progeny.com/gnustep/%SUBDIR%/ \ ftp://ftp.easynet.nl/mirror/GNUstep/%SUBDIR%/ MASTER_SITE_SUBDIR= core MAINTAINER= dinoex@FreeBSD.org .include .if ${OSVERSION} < 300000 BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x" .endif PREFIX= ${LOCALBASE}/GNUstep GNU_CONFIGURE= yes CONFIGURE_ENV= INSTALL_PROGRAM="${INSTALL} -c" INSTALL_DATA="${INSTALL} -c" \ CFLAGS="${CFLAGS} -D_THREAD_SAFE" CONFIGURE_TARGET= USE_GMAKE= yes MAKEFILE= MAKE_FLAGS= OPTFLAG="${CFLAGS}" NO_MTREE= yes .if ${MACHINE_ARCH} == "i386" GNU_ARCH= ix86 .else GNU_ARCH= ${MACHINE_ARCH} .endif PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION} post-configure: ${MV} ${WRKSRC}/config.make ${WRKSRC}/config.make.sed ${SED} -e "s|\(objc_threaded:=\).*|\1 ${PTHREAD_LIBS}|" \ < ${WRKSRC}/config.make.sed > ${WRKSRC}/config.make .include