2013-03-11 07:20:26 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2013/03/11 11:20:28 espie Exp $
|
2006-06-01 01:58:15 -04:00
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT= berkeley's implementation of the logo programming language
|
2006-06-01 21:52:25 -04:00
|
|
|
DISTNAME= ucblogo-5.5
|
2012-02-21 17:19:31 -05:00
|
|
|
REVISION= 2
|
2006-06-01 01:58:15 -04:00
|
|
|
CATEGORIES= lang
|
|
|
|
|
2012-10-15 11:06:41 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
2006-06-01 01:58:15 -04:00
|
|
|
HOMEPAGE= http://www.cs.berkeley.edu/~bh/logo.html
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2009-08-10 13:31:07 -04:00
|
|
|
WANTLIB= ICE SM X11 c m pthread-stubs termcap xcb
|
2013-03-11 07:20:26 -04:00
|
|
|
NO_TEST= Yes
|
2006-06-01 01:58:15 -04:00
|
|
|
|
|
|
|
MAKE_FILE= makefile
|
|
|
|
ALL_TARGET= logo makehelp helpfiles helpfiles/HELPCONTENTS
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ARGS+=--x-includes=${X11BASE}/include \
|
|
|
|
--x-libraries=${X11BASE}/lib
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@perl -pi -e 's:\@logopath@:${LOCALBASE}/share/ucblogo:g;' \
|
|
|
|
${WRKSRC}/init.c
|
|
|
|
@perl -pi -e 's:\@logohelp@:${LOCALBASE}/share/ucblogo/helpfiles:g;' \
|
|
|
|
${WRKSRC}/init.c
|
|
|
|
|
|
|
|
do-install:
|
2012-10-15 11:06:41 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/ucblogo/helpfiles
|
2006-06-01 01:58:15 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/helpfiles/* ${PREFIX}/share/ucblogo/helpfiles
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Messages ${PREFIX}/share/ucblogo/messages
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/logo ${PREFIX}/bin
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|