diff options
author | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1998-11-14 17:43:39 +0800 |
commit | 521807d38becba50804a00710cfa1b51c759a4f4 (patch) | |
tree | 26cfeb8a991d32014f9a30277d2ade973f1a937f /x11/kdelibs4 | |
parent | f4c70db8f8fed4684d8013755f0d23c5da34733e (diff) | |
download | freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.gz freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.tar.zst freebsd-ports-gnome-521807d38becba50804a00710cfa1b51c759a4f4.zip |
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.
Diffstat (limited to 'x11/kdelibs4')
-rw-r--r-- | x11/kdelibs4/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/x11/kdelibs4/Makefile b/x11/kdelibs4/Makefile index 0d1fba67e4ba..3feeceac2c32 100644 --- a/x11/kdelibs4/Makefile +++ b/x11/kdelibs4/Makefile @@ -3,7 +3,7 @@ # Date created: 28 October 1997 # Whom: Stefan Eßer <se@freebsd.org> # -# $Id: Makefile,v 1.20 1998/10/01 18:35:32 brian Exp $ +# $Id: Makefile,v 1.21 1998/10/10 06:43:48 kuriyama Exp $ # DISTNAME= kdelibs-1.0 @@ -23,16 +23,18 @@ CONFIGURE_ARGS= "--prefix=$(PREFIX)" \ "--x-lib=$(X11BASE)/lib" CONFIGURE_ENV= CXXFLAGS="$(CFLAGS)" +.include <bsd.port.pre.mk> + post-install: ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib - if [ "${PORTOBJFORMAT}" = "aout" ]; then \ - ${LN} -sf libjscript.so.0.90 ${PREFIX}/lib/libjscript.so; \ - ${LN} -sf libkdecore.so.1.0 ${PREFIX}/lib/libkdecore.so; \ - ${LN} -sf libkdeui.so.1.0 ${PREFIX}/lib/libkdeui.so; \ - ${LN} -sf libkfile.so.1.0 ${PREFIX}/lib/libkfile.so; \ - ${LN} -sf libkfm.so.1.0 ${PREFIX}/lib/libkfm.so; \ - ${LN} -sf libkhtmlw.so.1.0 ${PREFIX}/lib/libkhtmlw.so; \ - ${LN} -sf libmediatool.so.1.0 ${PREFIX}/lib/libmediatool.so; \ - fi +.if ${PORTOBJFORMAT} == "aout" + ${LN} -sf libjscript.so.0.90 ${PREFIX}/lib/libjscript.so + ${LN} -sf libkdecore.so.1.0 ${PREFIX}/lib/libkdecore.so + ${LN} -sf libkdeui.so.1.0 ${PREFIX}/lib/libkdeui.so + ${LN} -sf libkfile.so.1.0 ${PREFIX}/lib/libkfile.so + ${LN} -sf libkfm.so.1.0 ${PREFIX}/lib/libkfm.so + ${LN} -sf libkhtmlw.so.1.0 ${PREFIX}/lib/libkhtmlw.so + ${LN} -sf libmediatool.so.1.0 ${PREFIX}/lib/libmediatool.so +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |