aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glui
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2011-12-01 20:45:57 +0800
committergahr <gahr@FreeBSD.org>2011-12-01 20:45:57 +0800
commita272d1339b3908e4cabbae7021ef812240cc288a (patch)
treeb213b4f772a9a57cc953e1f23968c00b6fa902ae /devel/glui
parent11f794227a7baf7db8ee811ac3ac99d370387ca8 (diff)
downloadfreebsd-ports-gnome-a272d1339b3908e4cabbae7021ef812240cc288a.tar.gz
freebsd-ports-gnome-a272d1339b3908e4cabbae7021ef812240cc288a.tar.zst
freebsd-ports-gnome-a272d1339b3908e4cabbae7021ef812240cc288a.zip
- Install versioned shlib as well
- USE_LDCONFIG Feature safe: yes
Diffstat (limited to 'devel/glui')
-rw-r--r--devel/glui/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/glui/Makefile b/devel/glui/Makefile
index b87872d67a04..7f63a74ed950 100644
--- a/devel/glui/Makefile
+++ b/devel/glui/Makefile
@@ -17,17 +17,19 @@ COMMENT= GLUT-based C++ user interface library
USE_GL= glut
USE_GMAKE= yes
USE_XORG= xmu xext x11 xi
+USE_LDCONFIG= yes
MAKEFILE= makefile
WRKSRC= ${WRKDIR}/${DISTNAME}/src
-PLIST_FILES= include/glui.h lib/libglui.a lib/libglui.so
+PLIST_FILES= include/glui.h lib/libglui.a lib/libglui.so lib/libglui.so.0
PORTDOCS= *
do-install:
${INSTALL_DATA} ${WRKSRC}/include/GL/glui.h ${PREFIX}/include/
${INSTALL_DATA} ${WRKSRC}/lib/libglui.a ${PREFIX}/lib/
- ${INSTALL_DATA} ${WRKSRC}/lib/libglui.so ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/lib/libglui.so ${PREFIX}/lib/libglui.so.0
+ ${LN} -s libglui.so.0 ${PREFIX}/lib/libglui.so
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/glui_manual.pdf ${DOCSDIR}/