[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / gnustep-objc-lf2

File: [cvs.NetBSD.org] / pkgsrc / devel / gnustep-objc-lf2 / Makefile (download)

Revision 1.12, Sat Apr 18 03:42:56 2009 UTC (12 years, 6 months ago) by rh
Branch: MAIN
Changes since 1.11: +2 -2 lines

This now allows unprivileged DESTDIR installs

# $NetBSD: Makefile,v 1.12 2009/04/18 03:42:56 rh Exp $
#

DISTNAME=	gnustep-objc-lf2.95.3-r88
PKGNAME=	${DISTNAME:S/.9/-2.9/:S/-r/./}
PKGREVISION=	3
CATEGORIES=	devel gnustep
MASTER_SITES=	http://download.opengroupware.org/nightly/sources/releases/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://sope.opengroupware.org/en/build/thirdparty.html\#gstep_objc
COMMENT=	Objective-C library required for libFoundation

LICENSE=		gnu-gpl-v2

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LANGUAGES=	objc

WRKSRC=		${WRKDIR}/libobjc-lf2
USE_TOOLS+=	gmake
MAKE_JOBS_SAFE=	no
MAKE_FILE=	GNUmakefile

.include "../../devel/gnustep-make/buildlink3.mk"

do-configure:
.if ${GNUSTEP_HOST_CPU} == "x86_64"
	${LN} -s alpha ${WRKSRC}/config/x86_64
.else
	${MKDIR} ${WRKSRC}/config/${GNUSTEP_HOST_CPU}
	[ -e ${WRKSRC}/config/${GNUSTEP_HOST_CPU}/${LOWER_OPSYS} ] || \
	${LN} -s linux-gnu ${WRKSRC}/config/${GNUSTEP_HOST_CPU}/generic
.endif

.include "../../mk/bsd.pkg.mk"