freebsd-ports/misc/gnustep-examples/Makefile
David Chisnall b6546ca2ca Update GNUstep ports to their latest versions.
Also fix a few bits of generic infrastructure along the way.

Approved by:	bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D2961
2015-07-01 13:50:28 +00:00

36 lines
934 B
Makefile

# $FreeBSD$
PORTNAME= gnustep-examples
PORTVERSION= 1.4.0
PORTREVISION= 3
CATEGORIES= misc gnustep
MASTER_SITES= GNUSTEP/usr-apps
MAINTAINER= ports@FreeBSD.org
USES= gnustep
USE_GNUSTEP= back build
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_GNUSTEP_MAKE_DIRS+= . gui/Finger gui/GFractal gui/HostAddress gui/MyGL
post-patch:
${REINPLACE_CMD} -e 's|^//|#|' \
${WRKSRC}/gui/GFractal/GNUmakefile
do-build:
.for i in ${USE_GNUSTEP_MAKE_DIRS}
@(cd ${BUILD_WRKSRC}/${i}; . ${GNUSTEP_MAKEFILES}/GNUstep.sh; \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
.endfor
# ---------------------------------------------------------------------------
# source GNUstep.sh
#
do-install:
.for i in ${USE_GNUSTEP_MAKE_DIRS}
@(cd ${INSTALL_WRKSRC}/${i}; . ${GNUSTEP_MAKEFILES}/GNUstep.sh; \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.endfor
.include <bsd.port.mk>