1997-10-01 04:12:54 -04:00
|
|
|
# New ports collection makefile for: ilu
|
|
|
|
# Version required: 2.0alpha11
|
|
|
|
# Date created: 29.9.1997
|
|
|
|
# Whom: cracauer@cons.org "Martin Cracauer"
|
|
|
|
#
|
1997-10-09 17:19:42 -04:00
|
|
|
# $Id: Makefile,v 1.5 1997/10/07 15:06:37 cracauer Exp $
|
1997-10-01 04:12:54 -04:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ilu-2.0alpha11
|
1997-10-02 00:03:30 -04:00
|
|
|
PKGNAME= ilu-2.0a11
|
1997-10-01 04:12:54 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ftp://parcftp.xerox.com/pub/ilu/2.0a11/
|
|
|
|
|
|
|
|
MAINTAINER= cracauer@cons.org
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
HAS_CONFIGURE= yes
|
1997-10-09 17:19:42 -04:00
|
|
|
|
|
|
|
# The official guile port is outdated. If you have 1.2 installed, remove
|
|
|
|
# --disable-guile-support
|
|
|
|
CONFIGURE_ARGS= --disable-guile-support --enable-http-protocol
|
1997-10-01 04:12:54 -04:00
|
|
|
|
|
|
|
INSTALL_TARGET= Install
|
|
|
|
NOMANCOMPRESS=
|
1997-10-03 05:16:36 -04:00
|
|
|
PLIST= ${WRKSRC}/PLIST
|
1997-10-01 04:12:54 -04:00
|
|
|
|
1997-10-07 11:06:37 -04:00
|
|
|
# Startup script, run at boot time
|
|
|
|
startup_dir= ${PREFIX}/etc/rc.d
|
|
|
|
startup_script= ${startup_dir}/50.ilu.sh
|
|
|
|
|
1997-10-01 04:12:54 -04:00
|
|
|
post-install:
|
|
|
|
# Empty dirs
|
1997-10-09 17:19:42 -04:00
|
|
|
.if exists(${PREFIX}/ilu/examples/javatest1/javastubs)
|
|
|
|
${RMDIR} ${PREFIX}/ilu/examples/javatest1/javastubs
|
|
|
|
.endif
|
1997-10-01 04:12:54 -04:00
|
|
|
${RMDIR} ${PREFIX}/ilu/man/man[358]
|
|
|
|
${RMDIR} ${PREFIX}/ilu/lisp
|
1997-10-03 05:16:36 -04:00
|
|
|
(cd ${PREFIX} ; find ilu -type f) > ${PLIST}
|
1997-10-01 04:12:54 -04:00
|
|
|
(cd ${PREFIX} ; find ilu -type d) | ${AWK} '{print "@dirrm " $$1}' \
|
1997-10-03 05:16:36 -04:00
|
|
|
| tail -r >> ${PLIST}
|
1997-10-01 04:12:54 -04:00
|
|
|
(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 ; \
|
1997-10-03 05:16:36 -04:00
|
|
|
done) >> ${PLIST}
|
1997-10-01 04:12:54 -04:00
|
|
|
(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 ; \
|
1997-10-03 05:16:36 -04:00
|
|
|
done) >> ${PLIST}
|
1997-10-01 04:12:54 -04:00
|
|
|
# Empty dir, but we really need it
|
1997-10-03 05:16:36 -04:00
|
|
|
${ECHO} @exec ${MKDIR} %D/ilu/lib/binding >> ${PLIST}
|
|
|
|
${ECHO} @exec chmod 777 %D/ilu/lib/binding >> ${PLIST}
|
1997-10-07 11:06:37 -04:00
|
|
|
${ECHO} @exec ${LDCONFIG} -m %D/ilu/lib >> ${PLIST}
|
|
|
|
${ECHO} etc/rc.d/50.ilu.sh >> ${PLIST}
|
|
|
|
${ECHO} "Installing ${startup_script} file"
|
|
|
|
test -d ${startup_dir} || ${MKDIR} ${startup_dir}
|
|
|
|
${ECHO} "#!/bin/sh" > ${startup_script}
|
|
|
|
${ECHO} "${ECHO} -n ' ILU-shlibs'" >> ${startup_script}
|
|
|
|
${ECHO} "${LDCONFIG} -m ${PREFIX}/ilu/lib" >> ${startup_script}
|
|
|
|
chmod 755 ${startup_script};
|
|
|
|
${startup_script}
|
1997-10-01 04:12:54 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|