diff options
author | cracauer <cracauer@FreeBSD.org> | 1997-10-07 23:06:37 +0800 |
---|---|---|
committer | cracauer <cracauer@FreeBSD.org> | 1997-10-07 23:06:37 +0800 |
commit | f572016e54882107a699f09824f7b2bbaee29e67 (patch) | |
tree | d7c8f217d5247e3a7c60a5e00932888bb7d7ae78 /devel/ilu | |
parent | eea85f283f47095808d1293990819c5b9e91d952 (diff) | |
download | freebsd-ports-gnome-f572016e54882107a699f09824f7b2bbaee29e67.tar.gz freebsd-ports-gnome-f572016e54882107a699f09824f7b2bbaee29e67.tar.zst freebsd-ports-gnome-f572016e54882107a699f09824f7b2bbaee29e67.zip |
Add support for shared libraries (C libraries only).
Add ldconfig script to etc/rc.d/.
Diffstat (limited to 'devel/ilu')
-rw-r--r-- | devel/ilu/Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/devel/ilu/Makefile b/devel/ilu/Makefile index e1f4e475eb74..47695d17a40a 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.3 1997/10/03 09:16:36 asami Exp $ +# $Id: Makefile,v 1.4 1997/10/03 13:09:43 cracauer Exp $ # DISTNAME= ilu-2.0alpha11 @@ -25,6 +25,10 @@ INSTALL_TARGET= Install NOMANCOMPRESS= PLIST= ${WRKSRC}/PLIST +# Startup script, run at boot time +startup_dir= ${PREFIX}/etc/rc.d +startup_script= ${startup_dir}/50.ilu.sh + post-install: # Empty dirs ${RMDIR} ${PREFIX}/ilu/man/man[358] @@ -45,5 +49,14 @@ post-install: # Empty dir, but we really need it ${ECHO} @exec ${MKDIR} %D/ilu/lib/binding >> ${PLIST} ${ECHO} @exec chmod 777 %D/ilu/lib/binding >> ${PLIST} + ${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} .include <bsd.port.mk> |