77b0e2d1ab
* New configuration file to set default installation * gnustep-make now uses the -no-print-directory flag when invoking make * Change in path checking algorithm in GNUstep.sh and GNUstep.csh - use SUBST_CMD
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.15 2008/12/23 15:25:04 ajacoutot Exp $
|
|
|
|
# WARNING: this port does NOT use the x11/gnustep MODULE
|
|
|
|
PKG_ARCH= *
|
|
|
|
COMMENT= GNUstep makefile package
|
|
|
|
DISTNAME= gnustep-make-2.0.7
|
|
CATEGORIES= devel x11/gnustep
|
|
|
|
HOMEPAGE= http://www.gnustep.org/
|
|
|
|
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/
|
|
|
|
RUN_DEPENDS= ::archivers/gtar
|
|
|
|
USE_GMAKE= Yes
|
|
MAKE_FILE= GNUmakefile
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ENV= ac_cv_prog_LATEX2HTML="" \
|
|
INSTALL="install -c" \
|
|
INSTALL_PROGRAM="install -c -s -m 555" \
|
|
INSTALL_DATA="install -c -m 444"
|
|
CONFIGURE_ARGS= --with-layout=openbsd \
|
|
--prefix=${PREFIX} \
|
|
--with-config-file=${SYSCONFDIR}/GNUstep.conf \
|
|
--with-tar=${LOCALBASE}/bin/gtar \
|
|
--enable-multi-platform \
|
|
--with-library-combo="gnu-gnu-gnu" \
|
|
--with-thread-lib="-pthread"
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} -c ${FILESDIR}/openbsd \
|
|
${WRKSRC}/FilesystemLayouts/openbsd
|
|
|
|
post-install:
|
|
${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD \
|
|
${PREFIX}/share/GNUstep/README.OpenBSD
|
|
chown ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/GNUstep/README.OpenBSD
|
|
${INSTALL_DATA} ${WRKSRC}/{GNUstep.conf,installation-domains.conf} \
|
|
${PREFIX}/share/GNUstep/
|
|
|
|
.include <bsd.port.mk>
|