openbsd-ports/lang/ucblogo/Makefile

41 lines
1.1 KiB
Makefile
Raw Normal View History

2010-10-24 17:06:28 -04:00
# $OpenBSD: Makefile,v 1.8 2010/10/24 21:06:28 sthen Exp $
COMMENT= berkeley's implementation of the logo programming language
2006-06-01 21:52:25 -04:00
DISTNAME= ucblogo-5.5
2010-10-24 16:58:58 -04:00
REVISION= 1
CATEGORIES= lang
MASTER_SITES= http://openbsddistfiles.com/jolan/
HOMEPAGE= http://www.cs.berkeley.edu/~bh/logo.html
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 c m pthread-stubs termcap xcb
NO_REGRESS= Yes
2010-10-24 17:06:28 -04:00
USE_X11= Yes
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:
${INSTALL_DATA_DIR} ${PREFIX}/share/ucblogo/helpfiles
${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>