openbsd-ports/x11/gnustep/make/Makefile
sebastia 483a696233 Since we now have libobjc2, tweak gnustep-make to build/link against it.
gnustep-base doesn't need to install the compatibility layer anymore,
which requires a major lib bump.
Bump revision of all dependent packages, and remove double REVISION
in webservices

OK landry@
2012-08-22 07:15:51 +00:00

50 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.32 2012/08/22 07:15:52 sebastia Exp $
# WARNING: this port does NOT use the x11/gnustep MODULE
PKG_ARCH= *
COMMENT= GNUstep makefile package
DISTNAME = gnustep-make-2.6.2
REVISION = 1
CATEGORIES= devel x11/gnustep
HOMEPAGE= http://www.gnustep.org/
MASTER_SITES= ftp://ftp.gnustep.org/pub/gnustep/core/
BUILD_DEPENDS = x11/gnustep/libobjc2
RUN_DEPENDS= archivers/gtar
USE_GMAKE= Yes
USE_GROFF = Yes
MAKE_FILE= GNUmakefile
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= ac_cv_prog_LATEX2HTML="" \
INSTALL="install -c" \
INSTALL_PROGRAM="install -c -m 555" \
INSTALL_DATA="install -c -m 444" \
CPPFLAGS='-I${LOCALBASE}/include/gnustep' \
LDFLAGS='-L${LOCALBASE}/lib'
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" \
--with-objc-lib-flag=-lobjc2 \
--enable-strict-v2-mode
pre-configure:
${SUBST_CMD} -c ${FILESDIR}/openbsd \
${WRKSRC}/FilesystemLayouts/openbsd
post-install:
${INSTALL_DATA} ${WRKSRC}/{GNUstep.conf,installation-domains.conf} \
${PREFIX}/share/GNUstep/
.include <bsd.port.mk>