freebsd-ports/lang/gnustep-objc/Makefile
Thomas Gellekum 4df3104072 Fix plist.
2001-07-03 12:08:02 +00:00

52 lines
1.3 KiB
Makefile

# New ports collection makefile for: gnustep-objc
# Date created: 17 April 2001
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= gnustep-objc
PORTVERSION= 1.0.1
PORTREVISION= 1
CATEGORIES= lang devel
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/libs/
MAINTAINER= ports@FreeBSD.org
BUILD_DEPENDS= ${SYSTEMDIR}/Makefiles/GNUstep.sh:${PORTSDIR}/devel/gnustep-make \
${LOCALBASE}/lib/libcallback.a:${PORTSDIR}/devel/ffcall
RUN_DEPENDS= ${SYSTEMDIR}/Makefiles/GNUstep.sh:${PORTSDIR}/devel/gnustep-make
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
BROKEN= "Sorry, this port does not work on FreeBSD-2.2.x"
.endif
PREFIX= ${LOCALBASE}/GNUstep
USE_NEWGCC= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
ALL_TARGET=
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} \
MAJORVERSION=${PORTVERSION:C/([0-9]).*/\1/1}
SYSTEMDIR= ${PREFIX}/System
do-build:
@(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
do-install:
@(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
.include <bsd.port.post.mk>