38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.64 2022/04/18 19:12:22 adam Exp $
|
|
|
|
DISTNAME= Preferences-1.2.0
|
|
PKGNAME= gnustep-${DISTNAME:S/P/p/}
|
|
PKGREVISION= 42
|
|
CATEGORIES= x11 gnustep
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prefsapp/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
HOMEPAGE= http://prefsapp.sourceforge.net/
|
|
COMMENT= Application for setting preferences for the GNUstep system
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= objc
|
|
|
|
NO_CONFIGURE= YES
|
|
USE_TOOLS+= gmake
|
|
MAKE_FILE= GNUmakefile
|
|
MAKE_JOBS_SAFE= NO
|
|
MAKE_FLAGS+= GNUSTEP_USER_DIR=${WRKDIR}/fake_home/GNUstep
|
|
|
|
FIX_GNUSTEP_INSTALLATION_DIR= yes
|
|
SUBST_FILES.gnustep_installation_dir+= GNUmakefile.preamble
|
|
SUBST_FILES.gnustep_installation_dir+= PrefsModule/GNUmakefile.preamble
|
|
SUBST_FILES.gnustep_installation_dir+= Modules/Keyboard/GNUmakefile
|
|
SUBST_SED.gnustep_installation_dir+= -e 's|\$$(GNUSTEP_SYSTEM_ROOT)/Library/Preferences|$${DESTDIR}${GNUSTEP_LIB_DIR}/Preferences|'
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
_WRAP_EXTRA_ARGS.CC+= -Wno-unused-const-variable
|
|
CWRAPPERS_APPEND.cc+= -Wno-unused-const-variable
|
|
.endif
|
|
|
|
.include "../../x11/gnustep-back/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|