pkgsrc/lang/ucblogo/Makefile
reed 0b898c43b7 Update ucblogo to ucblogo-5.3. Many changes from older 4.6. No
change log found other than "This is a maintenance release, just
fixing a few disastrous bugs introduced in the 5.2 release." (Which doesn't
matter for this.)

Use BUILDLINK3 system.
Uses ncurses (or libtermcap).
Add HOMEPAGE.
Change MASTER_SITES, because not at GNU mirrors yet.
Also install some documentation.

Update PLIST; now using share/ucblogo instead of share/logo.

Removed un-needed patches.

New patch-aa for makefile.in also makes sure that emacs logo-mode
is disabled; if you want an option for this, please do so.

This will close a PR #24858 because now ucblogo does build under Linux.

Tested under Linux and NetBSD 1.6.2. Used graphical interface
with "showturtle" and did some minor line drawings.
2004-07-23 00:31:23 +00:00

28 lines
841 B
Makefile

# $NetBSD: Makefile,v 1.11 2004/07/23 00:31:23 reed Exp $
DISTNAME= ucblogo-5.3
CATEGORIES= lang
MASTER_SITES= ftp://ftp.cs.berkeley.edu/pub/ucblogo/
# Not at GNU mirrors yet
# ${MASTER_SITE_GNU:=non-gnu/ucblogo/} \
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://http.cs.berkeley.edu/~bh/logo.html
COMMENT= Brian Harvey's logo language interpreter
USE_BUILDLINK3= yes
MAKEFILE= makefile
GNU_CONFIGURE= yes
# otherwise ./configure guesses -L incorrectly
LIBS= -L${X11BASE}/lib
USE_X11= yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucblogo
${INSTALL_DATA} ${WRKSRC}/usermanual ${PREFIX}/share/doc/ucblogo/usermanual.txt
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucblogo/html
${CP} ${WRKSRC}/emacs/docs/*.html ${PREFIX}/share/doc/ucblogo/html/
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"