Annotation of pkgsrc/devel/gnustep-make/Makefile, Revision 1.61
1.61 ! triaxx 1: # $NetBSD: Makefile,v 1.60 2020/04/16 09:21:51 manu Exp $
1.1 rh 2:
1.60 manu 3: DISTNAME= gnustep-make-2.8.0
4: #PKGREVISION= 1
1.10 adam 5: CATEGORIES= devel gnustep
1.19 rillig 6: MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
1.10 adam 7:
1.55 wiz 8: MAINTAINER= pkgsrc-users@NetBSD.org
1.10 adam 9: HOMEPAGE= http://www.gnustep.org/
10: COMMENT= GNUstep makefile package
1.47 wiz 11: LICENSE= gnu-gpl-v3
1.1 rh 12:
1.61 ! triaxx 13: USE_LANGUAGES+= c99 objc c++ objc-c++
1.38 adam 14: USE_TOOLS+= csh
1.25 adam 15: GNU_CONFIGURE= yes
16: CONFIGURE_ENV+= INSTALL_PROGRAM=${INSTALL_SCRIPT:Q}
1.32 rillig 17: CONFIGURE_ARGS+= --disable-importing-config-file
1.44 rh 18: CONFIGURE_ARGS+= --with-layout=fhs
1.52 rh 19: CONFIGURE_ARGS+= --enable-native-objc-exceptions
1.40 tnn 20: CONFIGURE_ARGS+= --with-config-file=${PKG_SYSCONFDIR}/GNUstep.conf
1.61 ! triaxx 21: CONFIGURE_ARGS+= --with-objc-lib-flag="-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib -lobjc"
1.35 rillig 22: MAKE_FILE= GNUmakefile
1.14 rh 23:
1.61 ! triaxx 24: CONF_FILES+= ${PREFIX}/share/examples/GNUstep/GNUstep-strict-v2.conf \
1.37 minskim 25: ${PKG_SYSCONFDIR}/GNUstep.conf
1.27 wiz 26:
1.60 manu 27: REPLACE_BASH+= bake_debian_files.sh
28:
1.52 rh 29: .include "gnustep.mk"
1.44 rh 30: .include "../../mk/pthread.buildlink3.mk"
31:
32: .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
1.48 rillig 33: PTHREAD_LIBS+= -lpth
1.44 rh 34: .endif
35:
36: CONFIGURE_ARGS+= --with-thread-lib=${PTHREAD_LIBS:Q}
1.1 rh 37:
1.31 minskim 38: .if ${MACHINE_ARCH} == "i386"
39: GNUSTEP_ARCH= ix86
40: .else
41: GNUSTEP_ARCH= ${MACHINE_ARCH}
42: .endif
43: PLIST_SUBST+= GNUSTEP_ARCH=${GNUSTEP_ARCH}
44:
1.25 adam 45: SUBST_CLASSES+= target
1.58 jperkin 46: SUBST_STAGE.target= pre-configure
1.25 adam 47: SUBST_FILES.target= target.make
1.61 ! triaxx 48: SUBST_VARS.target= PREFIX
1.11 adam 49:
1.44 rh 50: SUBST_CLASSES+= maninfo
51: SUBST_STAGE.maninfo= pre-configure
52: SUBST_MESSAGE.maninfo= Fixing man directory references.
1.61 ! triaxx 53: SUBST_FILES.maninfo= FilesystemLayouts/fhs
1.44 rh 54: SUBST_SED.maninfo= -e 's|share/man|${PKGMANDIR}|'
55: SUBST_SED.maninfo+= -e 's|share/info|${PKGINFODIR}|'
56:
1.59 rillig 57: SUBST_CLASSES+= unwrapping
58: SUBST_STAGE.unwrapping= post-build
59: SUBST_MESSAGE.unwrapping= Unwrapping wrapper scripts.
60: SUBST_FILES.unwrapping= TestFramework/gnustep-tests
61: SUBST_SED.unwrapping= -e 's|${TOOLS_DIR}|${PREFIX}|g'
1.52 rh 62:
1.46 rh 63: INSTALLATION_DIRS+= share/GNUstep/Library
1.44 rh 64: INSTALLATION_DIRS+= share/GNUstep/Makefiles/${GNUSTEP_ARCH}
65: INSTALLATION_DIRS+= share/GNUstep/Makefiles/Additional
66: INSTALLATION_DIRS+= share/GNUstep/Makefiles/Auxiliary
1.1 rh 67:
68: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>