sample code at https://people.eecs.berkeley.edu/~bh/logo-sample.html behaves a bit strangely but it's the same with the in-tree version but simple tests with pen control/movement work as well as before. (the distfile for 5.5 is no longer available upstream, port had no MASTER_SITES line so was using implicit default of MASTER_SITE_OPENBSD)
38 lines
976 B
Makefile
38 lines
976 B
Makefile
# $OpenBSD: Makefile,v 1.18 2018/12/21 15:00:42 sthen Exp $
|
|
|
|
COMMENT= Berkeley's implementation of the logo programming language#'
|
|
DISTNAME= ucblogo-6.0
|
|
DISTFILES= ${DISTNAME}{ucblogo}${EXTRACT_SUFX}
|
|
|
|
CATEGORIES= lang
|
|
|
|
HOMEPAGE= https://people.eecs.berkeley.edu/~bh/logo.html
|
|
MASTER_SITES= https://people.eecs.berkeley.edu/~bh/downloads/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
WANTLIB += ICE SM X11 c curses m
|
|
|
|
NO_TEST= Yes
|
|
|
|
MAKE_FILE= makefile
|
|
ALL_TARGET= logo makehelp helpfiles helpfiles/HELPCONTENTS
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
CONFIGURE_ARGS+= --wx-disable \
|
|
--x-includes=${X11BASE}/include \
|
|
--x-libraries=${X11BASE}/lib
|
|
|
|
pre-configure:
|
|
rm ${WRKSRC}/config.cache
|
|
${SUBST_CMD} ${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>
|