summaryrefslogtreecommitdiff
path: root/devel/imake/Makefile
blob: f1b55c532098ef413678d307586727856edd3012 (plain) (blame)
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
# New ports collection makefile for:    Imake
# Date created:         01 Mar 2000
# Whom:                 max
#
# $FreeBSD$
#

PORTNAME=	imake
PORTVERSION=	1.0
CATEGORIES=	devel
MASTER_SITES=	ftp://ftp.xfree86.org/pub/XFree86/3.3.6/source/ \
		ftp://ftp.lip6.fr/pub/X11/XFree86/XFree86-3.3.6/source/ \
		ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/3.3.6/source/ \
		ftp://sunsite.doc.ic.ac.uk/packages/XFree86/3.3.6/source/
DISTNAME=	X336src-1
EXTRACT_SUFX=	.tgz

MAINTAINER=	max@FreeBSD.org
COMMENT=	Imake and other utilities from XFree86

MANUAL_PACKAGE_BUILD=	installs/removes files also in the XFree86 port

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
LATEST_LINK=	imake
.else
LATEST_LINK=	imake1
.endif
PREFIX=		${X11BASE}
DIST_SUBDIR=	xc
WRKSRC=		${WRKDIR}/xc/config
MAN1=		imake.1 lndir.1 makedepend.1 xmkmf.1 makestrs.1 \
		makeg.1 mkdirhier.1
MANCOMPRESSED=	yes
INSTALL_TARGET=	install install.man
MTREE_FILE=	/etc/mtree/BSD.x11.dist

.ifdef USE_IMAKE
.error You have `USE_IMAKE' variable defined either in environment or in make(1) arguments. Please undefine and try again.
.endif

do-configure:
	@${ECHO_CMD} > ${WRKSRC}/cf/host.def
	@(cd ${WRKDIR}/xc; \
	  ${MAKE} Makefile.boot ; \
	  ${MAKE} -f xmakefile SUBDIRS="include config" VerifyOS Makefiles includes)

.include <bsd.port.post.mk>