pkgsrc/lang/ucblogo/Makefile

30 lines
985 B
Makefile

# $NetBSD: Makefile,v 1.23 2013/07/18 12:05:09 joerg Exp $
DISTNAME= ucblogo-5.3
PKGREVISION= 3
CATEGORIES= lang
MASTER_SITES= ftp://ftp.cs.berkeley.edu/pub/ucblogo/
# Not at GNU mirrors yet
# ${MASTER_SITE_GNU:=non-gnu/ucblogo/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://http.cs.berkeley.edu/~bh/logo.html
COMMENT= Brian Harvey's logo language interpreter
MAKE_FILE= makefile
GNU_CONFIGURE= yes
# otherwise ./configure guesses -L incorrectly
LIBS+= -L${X11BASE}/lib
post-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ucblogo
${INSTALL_DATA} ${WRKSRC}/usermanual ${DESTDIR}${PREFIX}/share/doc/ucblogo/usermanual.txt
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ucblogo/html
${CP} ${WRKSRC}/emacs/docs/*.html ${DESTDIR}${PREFIX}/share/doc/ucblogo/html/
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../devel/ncurses/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"