Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Feb 2000 06:51:13 +0900
From:      FUJISHIMA Satsuki <k5@cheerful.com>
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/16572: fix: devel/sdl
Message-ID:  <86hffkadgu.wl@cheerful.com>

next in thread | raw e-mail | index | archive | help

>Number:         16572
>Category:       ports
>Synopsis:       fix: devel/sdl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb  7 14:00:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     FUJISHIMA Satsuki
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
N/A
>Environment:
>Description:
	make deinstall fails because:
	o Current Makefile makes ${PREFIX}/share/examples/SDL but nothing will be
	  installed there.
	o in place "tar cf - `/bin/ls | ${GREP} -v Makefile`" /bin/ls invoked by
	  root prints dotfiles unnecessary for this port.

>How-To-Repeat:

# cd $PORTSDIR/devel/sdl
# make install >/dev/null 2>&1
# make deinstall
===>  Deinstalling for sdl-1.0.3
pkg_delete: unable to completely remove directory '/usr/local/share/doc/SDL'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
# ls /usr/local/share/doc/SDL
.codeblock      .header         .macros

>Fix:
	
diff -urN /net/s/ports/devel/sdl/Makefile sdl/Makefile
--- /net/s/ports/devel/sdl/Makefile	Fri Feb  4 03:12:28 2000
+++ sdl/Makefile	Tue Feb  8 06:36:19 2000
@@ -30,12 +30,13 @@
 
 post-install:
 	@ ${MKDIR} ${PREFIX}/share/examples/SDL
+	@ ${INSTALL_DATA} ${WRKSRC}/test/* ${PREFIX}/share/examples/SDL
 .if !defined(NOPORTDOCS)
 	@ ${MKDIR} ${PREFIX}/share/doc/SDL
 .for file in BUGS COPYING CREDITS README WhatsNew docs.html
 	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/SDL
 .endfor
-	@ cd ${WRKSRC}/docs; tar cf - `/bin/ls | ${GREP} -v Makefile` | \
+	@ cd ${WRKSRC}/docs; tar cf - `${ECHO} [^M]*` | \
 		(cd ${PREFIX}/share/doc/SDL; ${TAR} --unlink -xf - )
 .endif
 
diff -urN /net/s/ports/devel/sdl/pkg/PLIST sdl/pkg/PLIST
--- /net/s/ports/devel/sdl/pkg/PLIST	Fri Feb  4 03:12:28 2000
+++ sdl/pkg/PLIST	Tue Feb  8 06:30:27 2000
@@ -61,6 +61,43 @@
 share/doc/SDL/video/funclist.html
 share/doc/SDL/video/functions.html
 share/doc/SDL/video/index.html
+share/examples/SDL/COPYING
+share/examples/SDL/Makefile.am
+share/examples/SDL/Makefile.in
+share/examples/SDL/README
+share/examples/SDL/acinclude.m4
+share/examples/SDL/aclocal.m4
+share/examples/SDL/autogen.sh
+share/examples/SDL/checkkeys.c
+share/examples/SDL/config.guess
+share/examples/SDL/config.sub
+share/examples/SDL/configure
+share/examples/SDL/configure.in
+share/examples/SDL/graywin.c
+share/examples/SDL/icon.bmp
+share/examples/SDL/install-sh
+share/examples/SDL/loopwave.c
+share/examples/SDL/missing
+share/examples/SDL/mkinstalldirs
+share/examples/SDL/picture.xbm
+share/examples/SDL/sample.bmp
+share/examples/SDL/sample.wav
+share/examples/SDL/testalpha.c
+share/examples/SDL/testbitmap.c
+share/examples/SDL/testcdrom.c
+share/examples/SDL/testerror.c
+share/examples/SDL/testhread.c
+share/examples/SDL/testkeys.c
+share/examples/SDL/testlock.c
+share/examples/SDL/testsprite.c
+share/examples/SDL/testtimer.c
+share/examples/SDL/testtypes.c
+share/examples/SDL/testver.c
+share/examples/SDL/testvidinfo.c
+share/examples/SDL/testwin.c
+share/examples/SDL/testwm.c
+share/examples/SDL/threadwin.c
+@dirrm share/examples/SDL
 @dirrm share/doc/SDL/video
 @dirrm share/doc/SDL/time
 @dirrm share/doc/SDL/threads

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86hffkadgu.wl>