1 # $NetBSD: Makefile,v 1.35 2009/05/19 08:59:38 wiz Exp $
3 DISTNAME= Preferences-1.2.0
4 PKGNAME= gnustep-${DISTNAME:S/P/p/}
6 CATEGORIES= x11 gnustep
7 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prefsapp/}
10 MAINTAINER= adam@NetBSD.org
11 HOMEPAGE= http://prefsapp.sourceforge.net/
12 COMMENT= Application for setting preferences for the GNUstep system
15 PKG_DESTDIR_SUPPORT= user-destdir
21 MAKE_FILE= GNUmakefile
23 MAKE_FLAGS+= GNUSTEP_USER_DIR=${WRKDIR}/fake_home/GNUstep
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|'
31 .include "../../x11/gnustep-back/buildlink3.mk"
32 .include "../../mk/pthread.buildlink3.mk"
33 .include "../../mk/bsd.pkg.mk"