From f35424c0b2879af6d5480e4ec39adafb49224eba Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 9 Aug 1998 23:51:08 +0000 Subject: Make this re-install friendly. --- graphics/EZWGL/Makefile | 15 +++++---------- graphics/EZWGL/pkg-plist | 6 ++---- 2 files changed, 7 insertions(+), 14 deletions(-) (limited to 'graphics/EZWGL') diff --git a/graphics/EZWGL/Makefile b/graphics/EZWGL/Makefile index 51893d58f9eb..33939f9a242d 100644 --- a/graphics/EZWGL/Makefile +++ b/graphics/EZWGL/Makefile @@ -3,7 +3,7 @@ # Date created: 4 May 1998 # Whom: Andrey Zakhvatov # -# $Id: Makefile,v 1.5 1998/08/04 00:55:57 mph Exp $ +# $Id: Makefile,v 1.6 1998/08/05 09:31:05 asami Exp $ # DISTNAME= EZWGL-1.39 @@ -136,18 +136,15 @@ MAN3= EZ.3 EZ_ActivateNoteBookPage.3 EZ_ActivateWidget.3 \ EZ_WorkAreaClear.3 EZ_WorkAreaFindItemAtXY.3 pre-install: - @ ${RM} ${WRKSRC}/examples/Makefile.orig - @ ${RM} ${WRKSRC}/examples/ExampleMsg + @ ${RM} ${WRKSRC}/examples/Makefile.orig || true + @ ${RM} ${WRKSRC}/examples/ExampleMsg || true do-install: @ ${INSTALL_DATA} ${WRKSRC}/include/EZ.h ${PREFIX}/include @ ${INSTALL_DATA} ${WRKSRC}/lib/libEZ.a ${PREFIX}/lib @ ${INSTALL_DATA} ${WRKSRC}/lib/libEZ.so.1.3 ${PREFIX}/lib - @ ln -sf ${PREFIX}/lib/libEZ.so.1.3 ${PREFIX}/lib/libEZ.so - @ ln -sf ${PREFIX}/lib/libEZ.so.1.3 ${PREFIX}/lib/libEZ.so.1 .for file in ${MAN3} @ ${INSTALL_MAN} ${WRKSRC}/man3/${file} ${PREFIX}/man/man3 - @ ${RM} ${WRKSRC}/man3/${file} .endfor .for file in \ EZ_AllocateColorFromRGB.3 EZ_AppendListBoxItem.3 EZ_BindLightSrc.3 \ @@ -249,13 +246,10 @@ do-install: EZ_WorkAreaInsertItemUsingIdx.3 EZ_WorkAreaRearrange.3 \ EZ_WorkAreaSelectItem.3 EZ_WorkAreaSelectItemUsingIdx.3 EZ_ZeroMatrix.3 @ cd ${WRKSRC}/man3; ln -sf ${PREFIX}/man/man3/`ls -l ${file} | ${AWK} '{print $$11}'`.gz ${PREFIX}/man/man3/${file}.gz - @ ${RM} ${WRKSRC}/man3/${file} .endfor - @ ${MKDIR} ${PREFIX}/share/examples/EZ @ ${MKDIR} ${PREFIX}/share/examples/EZ/pixmaps + @ ${INSTALL_DATA} `find ${WRKSRC}/examples \! -type d | grep -v pixmaps` ${PREFIX}/share/examples/EZ @ ${INSTALL_DATA} ${WRKSRC}/examples/pixmaps/* ${PREFIX}/share/examples/EZ/pixmaps - @ ${RM} -rf ${WRKSRC}/examples/pixmaps - @ ${INSTALL_DATA} ${WRKSRC}/examples/* ${PREFIX}/share/examples/EZ .if !defined(NOPORTDOCS) @ ${MKDIR} ${PREFIX}/share/doc/EZ @ ${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/EZ @@ -264,4 +258,5 @@ do-install: post-install: ${LDCONFIG} -m ${PREFIX}/lib + .include diff --git a/graphics/EZWGL/pkg-plist b/graphics/EZWGL/pkg-plist index c1c84837e9af..9786ef3adc98 100644 --- a/graphics/EZWGL/pkg-plist +++ b/graphics/EZWGL/pkg-plist @@ -1,10 +1,8 @@ include/EZ.h lib/libEZ.a -lib/libEZ.so -lib/libEZ.so.1 lib/libEZ.so.1.3 -@exec /sbin/ldconfig -m %D/lib -@unexec /sbin/ldconfig -m %D/lib +@exec /sbin/ldconfig -m %B +@unexec /sbin/ldconfig -R man/man3/EZ.3.gz man/man3/EZ_ActivateNoteBookPage.3.gz man/man3/EZ_ActivateWidget.3.gz -- cgit v1.2.3