summaryrefslogtreecommitdiffstats
path: root/lang/logo/Makefile
blob: d840a3e3d5480b152e8d170fa8c73e2e2d97a670 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# New ports collection makefile for:	logo
# Date created:		22 October 1994
# Whom:			jkh
#
# $FreeBSD$
#

PORTNAME=	ucblogo
PORTVERSION=	5.1
CATEGORIES=	lang
MASTER_SITES= 	${MASTER_SITE_GNU} \
		ftp://ftp.cs.berkeley.edu/pub/ucblogo/
MASTER_SITE_SUBDIR=non-gnu/ucblogo

WRKSRC=		${WRKDIR}/ucblogo

.if defined(EMACS_LOGO_MODE)
BUILD_DEPENDS=  emacs:${PORTSDIR}/editors/emacs
.endif
.if defined(WITH_FULL_DOCS)
.undef NOPORTDOCS
BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX \
		ps2pdf:${PORTSDIR}/print/ghostscript-gnu
.endif

MAINTAINER=	ports@FreeBSD.org

USE_XLIB=	yes
MAKEFILE=	makefile
HAS_CONFIGURE=	yes

ALL_TARGET=	all

.if defined(WITH_FULL_DOCS)
ALL_TARGET+=	docs
PLIST_SUB+=	WITH_FULL_DOCS=""
.else
PLIST_SUB+=	WITH_FULL_DOCS="@comment "
.endif

.if defined(EMACS_LOGO_MODE)
ALL_TARGET+=	logo-mode
PLIST_SUB+=	EMACS_LOGO_MODE=""
.else
PLIST_SUB+=	EMACS_LOGO_MODE="@comment "
.endif

pre-fetch:
.if !defined(EMACS_LOGO_MODE)
	@${ECHO} ""
	@${ECHO} "      Define EMACS_LOGO_MODE to build the emacs logo mode"
	@${ECHO} ""
.endif
.if !defined(WITH_FULL_DOCS)
	@${ECHO} ""
	@${ECHO} "      Define WITH_FULL_DOCS to build ps, pdf and html docs"
	@${ECHO} "      This requires teTeX and ghostscript !"
	@${ECHO} ""
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud