1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-10 02:45:11 +00:00
freebsd-ports/devel/imake/Makefile
Maxim Sobolev 4fe6852b8f Due to popular demant into each port which might be inserted into dependency
list by bsd.port.mk insert anti foot-shooting device, which prevents
infinite fork loop when the user defines corresponding USE_XXX in global
make.conf, command line or environment.

Similar devices should probably be inserted into ports that might be inserted
into dependency list by others bsd.foo.mk files (bsd.ruby.mk, bsd.python.mk
and so on.)
2002-09-14 13:32:06 +00:00

49 lines
1.2 KiB
Makefile

# 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
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>