Merge from vendor branch TNF:
[pkgsrcv2.git] / x11 / gnustep-preferences / Makefile
1 # $NetBSD: Makefile,v 1.35 2009/05/19 08:59:38 wiz Exp $
2
3 DISTNAME=       Preferences-1.2.0
4 PKGNAME=        gnustep-${DISTNAME:S/P/p/}
5 PKGREVISION=    20
6 CATEGORIES=     x11 gnustep
7 MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=prefsapp/}
8 EXTRACT_SUFX=   .tar.bz2
9
10 MAINTAINER=     adam@NetBSD.org
11 HOMEPAGE=       http://prefsapp.sourceforge.net/
12 COMMENT=        Application for setting preferences for the GNUstep system
13 LICENSE=        gnu-gpl-v2
14
15 PKG_DESTDIR_SUPPORT=    user-destdir
16
17 USE_LANGUAGES=  objc
18
19 NO_CONFIGURE=   YES
20 USE_TOOLS+=     gmake
21 MAKE_FILE=      GNUmakefile
22 MAKE_JOBS_SAFE= NO
23 MAKE_FLAGS+=    GNUSTEP_USER_DIR=${WRKDIR}/fake_home/GNUstep
24
25 FIX_GNUSTEP_INSTALLATION_DIR= yes
26 SUBST_FILES.gnustep_installation_dir+=  GNUmakefile.preamble
27 SUBST_FILES.gnustep_installation_dir+=  PrefsModule/GNUmakefile.preamble
28 SUBST_FILES.gnustep_installation_dir+=  Modules/Keyboard/GNUmakefile
29 SUBST_SED.gnustep_installation_dir+=    -e 's|\$$(GNUSTEP_SYSTEM_ROOT)/Library/Preferences|$${DESTDIR}${GNUSTEP_LIB_DIR}/Preferences|'
30
31 .include "../../x11/gnustep-back/buildlink3.mk"
32 .include "../../mk/pthread.buildlink3.mk"
33 .include "../../mk/bsd.pkg.mk"