pkgsrc/devel/gnustep-make/Makefile
rh abaf0b1d23 Update gnustep-make to 1.6.0. Changes include:
Make now configures by default for only one system. To compile and
run GNUstep for multiple platforms from the same directory, use the
configure argument -enable-multi-platform.

   * Auto-build def file for DLLs

   * Work natively on MacOSX systems. Now use apple-apple-apple instead
     of nx-nx-nx on OSX systems.

   * More efficient checks for re-making a project.
2003-04-01 08:29:12 +00:00

48 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.8 2003/04/01 08:29:12 rh Exp $
#
DISTNAME= gnustep-make-1.6.0
CATEGORIES= devel gnustep
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/
MAINTAINER= rh@netbsd.org
HOMEPAGE= http://www.gnustep.org/
COMMENT= GNUstep makefile package
USE_GMAKE= YES
USE_X11= YES
MAKEFILE= GNUmakefile
GNU_CONFIGURE= YES
GNU_CONFIGURE_PREFIX= ${PREFIX}/share/GNUstep
GNUSTEP_HOST_CPU= ${MACHINE_GNU_ARCH:S/i386/ix86/}
CONFIGURE_ENV+= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
PLIST_SUBST+= GNUSTEP_HOST_CPU=${GNUSTEP_HOST_CPU}
PLIST_SUBST+= APPEND_ELF=${APPEND_ELF}
post-patch:
${CP} ${WRKSRC}/target.make ${WRKSRC}/target.make.bak && \
${SED} -e 's;/usr/pkg;${LOCALBASE};g' -e 's;@object_fmt@;${LOWER_OPSYS}-${OBJECT_FMT};g' \
${WRKSRC}/target.make.bak > ${WRKSRC}/target.make
post-install:
.for sub in System Local
${INSTALL_DATA_DIR} ${PREFIX}/share/GNUstep/${sub}/Headers/${GNUSTEP_HOST_CPU}/${LOWER_OPSYS}${APPEND_ELF}
.for dir in Libraries Tools
${INSTALL_DATA_DIR} ${PREFIX}/share/GNUstep/${sub}/${dir}/${GNUSTEP_HOST_CPU}/${LOWER_OPSYS}${APPEND_ELF}/gnu-gnu-gnu
.endfor
.endfor
.for dir in Services PostScript Frameworks Colors Bundles
${INSTALL_DATA_DIR} ${PREFIX}/share/GNUstep/Local/Library/${dir}
.endfor
.for dir in Resources Java
${INSTALL_DATA_DIR} ${PREFIX}/share/GNUstep/Local/Libraries/${dir}
.endfor
.for dir in User Developer
${INSTALL_DATA_DIR} ${PREFIX}/share/GNUstep/Local/Documentation/${dir}
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/GNUstep/Local/Developer/Palettes
${INSTALL_DATA_DIR} ${PREFIX}/share/GNUstep/Local/Applications
${INSTALL_DATA_DIR} ${PREFIX}/share/GNUstep/Local/Tools/Java
.include "../../mk/bsd.pkg.mk"