[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / gnustep-preferences

File: [cvs.NetBSD.org] / pkgsrc / x11 / gnustep-preferences / Makefile (download)

Revision 1.3, Fri Mar 7 03:00:40 2003 UTC (16 years, 7 months ago) by jmc
Branch: MAIN
Changes since 1.2: +14 -2 lines

Provide a PLIST_SUBST pattern for the machine specific directory installs

# $NetBSD: Makefile,v 1.3 2003/03/07 03:00:40 jmc Exp $
#

DISTNAME=	Preferences-1.2.0
PKGREVISION=	2
PKGNAME=	gnustep-${DISTNAME:S/P/p/}
CATEGORIES=	x11 gnustep
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=prefsapp/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://prefsapp.sourceforge.net/
COMMENT=	Application for setting preferences for the GNUstep system

NO_CONFIGURE=	YES
USE_BUILDLINK2=	YES
USE_GMAKE=	YES
USE_X11=	YES
MAKEFILE=	GNUmakefile

#
# Gnustep seems to use it's own idea of architecture names and at least for
# i386 is using ix86. For other archs default for MACHINE_ARCH.
# Tested specifically on x86 and powerpc
.if (${MACHINE_ARCH} == "i386")
PLIST_SUBST+= 	ARCH="ix86"
PLIST_SUBST+=	ARCH_LOC="ix86/${LOWER_OPSYS}elf"
.else
PLIST_SUBST+=	ARCH="${MACHINE_ARCH}"
PLIST_SUBST+=	ARCH_LOC="${MACHINE_ARCH}/${LOWER_OPSYS}"
.endif

.include "../../x11/gnustep-back/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"