summaryrefslogtreecommitdiff
path: root/devel/ilu/Makefile
blob: db6ea641be3e2b37cd1ab4919521eec2053742e4 (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
50
51
# New ports collection makefile for: ilu
# Version required:     2.0alpha11
# Date created:         29.9.1997
# Whom:                 cracauer@cons.org "Martin Cracauer"
#
# $Id: Makefile,v 1.7 1997/10/01 06:50:02 cracauer Exp $
#

DISTNAME=       ilu-2.0alpha11
CATEGORIES=     devel
MASTER_SITES=   ftp://parcftp.xerox.com/pub/ilu/2.0a11/

MAINTAINER=	cracauer@cons.org

NO_WRKSUBDIR=   yes
HAS_CONFIGURE=	yes
# ILU 2.0alpha11 doesn't compile with FreeBSD jdk-1.1 port
CONFIGURE_ARGS= --disable-java-support --enable-http-protocol

PKGDIR=		var-pkg

INSTALL_TARGET=	Install
NOMANCOMPRESS=

post-install:
	# Empty dirs
	${RMDIR} ${PREFIX}/ilu/man/man[358]
	${RMDIR} ${PREFIX}/ilu/lisp
.if !exists(var-pkg)
	${MKDIR} var-pkg
.endif
	${CP} pkg/COMMENT var-pkg/.
	${CP} pkg/DESCR var-pkg/.
	(cd ${PREFIX} ; find ilu -type f) > var-pkg/PLIST
	(cd ${PREFIX} ; find ilu -type d) | ${AWK} '{print "@dirrm " $$1}' \
		| tail -r >> var-pkg/PLIST
	(cd ${PREFIX}/ilu/bin ; for file in * ; do \
		ln -fs ${PREFIX}/ilu/bin/$$file ${PREFIX}/bin/. ; \
		${ECHO} @exec ln -fs %D/ilu/bin/$$file %D/bin/. ; \
		${ECHO} @unexec ${RM} %D/bin/$$file ; \
		done) >> var-pkg/PLIST
	(cd ${PREFIX}/ilu/man/man1 ; for file in * ; do \
		ln -fs ${PREFIX}/ilu/man/man1/$$file ${PREFIX}/man/man1/. ; \
		${ECHO} @exec ln -fs %D/ilu/man/man1/$$file %D/man/man1/. ; \
		${ECHO} @unexec ${RM} %D/man/man1/$$file ; \
		done) >> var-pkg/PLIST
	# Empty dir, but we really need it
	${ECHO} @exec ${MKDIR} %D/ilu/lib/binding >> var-pkg/PLIST
	${ECHO} @exec chmod 777 %D/ilu/lib/binding >> var-pkg/PLIST

.include <bsd.port.mk>