319f6ad156
for threaded libobjc to go in) ; re-order Makefile.inc and gnustep.port.mk, set only for i386 until we get more test results, set USE_X11 where it's due...
28 lines
684 B
Makefile
28 lines
684 B
Makefile
# $OpenBSD: Makefile,v 1.3 2007/07/21 17:30:10 ajacoutot Exp $
|
|
|
|
COMMENT= GNUstep example applications
|
|
|
|
DISTNAME= gnustep-examples-1.2.0
|
|
PKGNAME= ${DISTNAME}p0
|
|
CATEGORIES= misc
|
|
|
|
HOMEPAGE= http://www.gnustep.org/experience/examples.html
|
|
|
|
WANTLIB= GL GLU c m objc pthread
|
|
|
|
MASTER_SITES= ftp://ftp.gnustep.org/pub/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>
|