freebsd-ports/devel/ilu/Makefile
Satoshi Asami 7fb23b5e42 Instead of creating a whole new ${PKGDIR}, just specify ${PLIST} to point
to ${WRKSRC}/PLIST and build it there.  COMMENT and DESCR will be picked
up from their default locations.
1997-10-03 09:16:36 +00:00

46 lines
1.4 KiB
Makefile

# 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.2 1997/10/02 04:03:30 asami Exp $
#
DISTNAME= ilu-2.0alpha11
PKGNAME= ilu-2.0a11
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
INSTALL_TARGET= Install
NOMANCOMPRESS=
PLIST= ${WRKSRC}/PLIST
post-install:
# Empty dirs
${RMDIR} ${PREFIX}/ilu/man/man[358]
${RMDIR} ${PREFIX}/ilu/lisp
(cd ${PREFIX} ; find ilu -type f) > ${PLIST}
(cd ${PREFIX} ; find ilu -type d) | ${AWK} '{print "@dirrm " $$1}' \
| tail -r >> ${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) >> ${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) >> ${PLIST}
# Empty dir, but we really need it
${ECHO} @exec ${MKDIR} %D/ilu/lib/binding >> ${PLIST}
${ECHO} @exec chmod 777 %D/ilu/lib/binding >> ${PLIST}
.include <bsd.port.mk>