openbsd-ports/x11/gnustep/examples/Makefile
ajacoutot 4fc93b7a74 Update to gnustep-examples-1.3.0.
from Sebastian Reitenbach
2010-06-07 06:52:46 +00:00

28 lines
672 B
Makefile

# $OpenBSD: Makefile,v 1.9 2010/06/07 06:52:46 ajacoutot Exp $
COMMENT= GNUstep example applications
DISTNAME= gnustep-examples-1.3.0
PKGNAME= ${DISTNAME}
CATEGORIES= misc
HOMEPAGE= http://www.gnustep.org/experience/examples.html
WANTLIB= GL GLU c m objc pthread
MASTER_SITES= ${MASTER_SITE_GNUSTEP:=core/}
USE_X11= Yes
MODULES= x11/gnustep
LIB_DEPENDS= gnustep-base.>=1::x11/gnustep/base \
gnustep-gui::x11/gnustep/gui
RUN_DEPENDS= :gnustep-back-*:x11/gnustep/back
pre-configure:
@perl -pi -e 's,!!X11BASE!!,${X11BASE},g' \
${WRKSRC}/gui/MyGL/GNUmakefile
@perl -pi -e 's,!!PREFIX!!,${PREFIX},g' \
${WRKSRC}/gui/MyGL/AppController.m
.include <bsd.port.mk>