summaryrefslogtreecommitdiff
path: root/devel/ilu/Makefile
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
committerSatoshi Asami <asami@FreeBSD.org>1998-11-14 09:43:39 +0000
commit96bc8048c3217bb231f2f30eadeb628134b557f5 (patch)
treec75d5bd5a6faba5d6ec73da367e4bfe5b0d4285d /devel/ilu/Makefile
parentChecksum changed.... (diff)
Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops. Use EXTRA_PKG_FLAGS to add install scripts instead of adding it to PKG_FLAGS after bsd.port.mk.
Notes
Notes: svn path=/head/; revision=14512
Diffstat (limited to 'devel/ilu/Makefile')
-rw-r--r--devel/ilu/Makefile34
1 files changed, 18 insertions, 16 deletions
diff --git a/devel/ilu/Makefile b/devel/ilu/Makefile
index 30e062d3dc46..59b55fbd0230 100644
--- a/devel/ilu/Makefile
+++ b/devel/ilu/Makefile
@@ -3,7 +3,7 @@
# Date created: 29.9.1997
# Whom: cracauer@cons.org "Martin Cracauer"
#
-# $Id: Makefile,v 1.12 1998/10/08 16:37:18 cracauer Exp $
+# $Id: Makefile,v 1.13 1998/10/08 18:48:56 cracauer Exp $
#
DISTNAME= ilu-2.0alpha12
@@ -25,6 +25,22 @@ CONFIGURE_ARGS+= --prefix=${PREFIX}/ilu
INSTALL_TARGET= Install
PLIST= ${WRKSRC}/PLIST
+.include <bsd.port.pre.mk>
+
+.if ${PORTOBJFORMAT} == "elf"
+SHLIBPATCH=files/shlib-elf.patch
+# The FreeBSD Java Development Kit is still in aout object format.
+# You might want to enable it if you have an ELF JDK and/or build
+# a seperate aout ILU runtime to use with Java.
+CONFIGURE_ARGS+= --disable-java-support
+.else
+SHLIBPATCH=files/shlib-aout.patch
+# Java support on -stable does not work (ILU runtime dumps core).
+# You might want to enable it if you know what you are doing.
+# Maybe taking -O out of patches/patch-1-cra-cflags help.
+CONFIGURE_ARGS+= --disable-java-support
+.endif
+
# Startup script, run at boot time
startup_dir= ${PREFIX}/etc/rc.d
startup_script= ${startup_dir}/50.ilu.sh
@@ -63,18 +79,4 @@ do-install:
chmod 755 ${startup_script};
${startup_script}
-.include <bsd.port.mk>
-
-.if ${PORTOBJFORMAT} == "elf"
-SHLIBPATCH=files/shlib-elf.patch
-# The FreeBSD Java Development Kit is still in aout object format.
-# You might want to enable it if you have an ELF JDK and/or build
-# a seperate aout ILU runtime to use with Java.
-CONFIGURE_ARGS+= --disable-java-support
-.else
-SHLIBPATCH=files/shlib-aout.patch
-# Java support on -stable does not work (ILU runtime dumps core).
-# You might want to enable it if you know what you are doing.
-# Maybe taking -O out of patches/patch-1-cra-cflags help.
-CONFIGURE_ARGS+= --disable-java-support
-.endif
+.include <bsd.port.post.mk>