summaryrefslogtreecommitdiff
path: root/lang/ucblogo/Makefile
blob: faf5033fbaae4d7966c80a553497c3eb7affefec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.28 2015/11/09 07:18:34 dholland Exp $

DISTNAME=	ucblogo
PKGNAME=	${DISTNAME}-6.0
PKGREVISION=	1
CATEGORIES=	lang
MASTER_SITES=	http://www.cs.berkeley.edu/~bh/downloads/
# Not at GNU mirrors yet
# ${MASTER_SITE_GNU:=non-gnu/ucblogo/}
DIST_SUBDIR=	${PKGNAME_NOREV}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://http.cs.berkeley.edu/~bh/logo.html
COMMENT=	Brian Harvey's logo language interpreter

WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}

MAKE_FILE=	makefile
BUILD_TARGET=	# empty
GNU_CONFIGURE=	yes
# otherwise ./configure might find wxgtk
CONFIGURE_ARGS+=	--wx-disable
# otherwise ./configure guesses -L incorrectly
LIBS+=		-L${X11BASE}/lib

USE_TOOLS+=	makeinfo
INSTALLATION_DIRS=	info
INFO_FILES=	yes

post-extract:
	${RM} ${WRKSRC}/config.cache
	${RM} -rf ${WRKSRC}/csls/CVS

BUILDLINK_DEPMETHOD.libXt=	build

.include "../../devel/ncurses/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"