aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2009-06-04 15:51:29 +0800
committeritetcu <itetcu@FreeBSD.org>2009-06-04 15:51:29 +0800
commit322dc70b2189f247b0755ec5e65656a1d19da58e (patch)
treec160d8e74982eabc729691617bcc486048a8ef7e /graphics
parenta2d13dd323acd28a1c79bd280a84407f357dee7f (diff)
downloadfreebsd-ports-gnome-322dc70b2189f247b0755ec5e65656a1d19da58e.tar.gz
freebsd-ports-gnome-322dc70b2189f247b0755ec5e65656a1d19da58e.tar.zst
freebsd-ports-gnome-322dc70b2189f247b0755ec5e65656a1d19da58e.zip
- fix build with NOPORTDOCS=yes and friends;
- as a side effect remove a six lines pkg-plist; - bump PORTREVISION. Reported by: QAT Approved by: maintianer timeout on QATMail (since 24 Aug 2008)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/linux-sdl_image/Makefile9
-rw-r--r--graphics/linux-sdl_image/pkg-plist6
2 files changed, 7 insertions, 8 deletions
diff --git a/graphics/linux-sdl_image/Makefile b/graphics/linux-sdl_image/Makefile
index ca7e0dbe85f8..9e3a978dcc2b 100644
--- a/graphics/linux-sdl_image/Makefile
+++ b/graphics/linux-sdl_image/Makefile
@@ -8,10 +8,10 @@
PORTNAME= sdl_image
PORTVERSION= 1.2.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics linux
MASTER_SITES= http://www.libsdl.org/projects/SDL_image/release/
-DISTNAME= SDL_image-${PORTVERSION}-1
+DISTNAME= ${LINUX_NAME}-${PORTVERSION}-1
MAINTAINER= nivit@FreeBSD.org
COMMENT= A simple library to load images as SDL interfaces (linux version)
@@ -25,5 +25,10 @@ ONLY_FOR_ARCHS= i386 amd64
DIST_SUBDIR= rpm
PLIST_SUB+= SDLIMVER=${PORTVERSION}
MD5_FILE= ${PKGDIR}/distinfo
+LINUX_NAME= SDL_image
+
+PLIST_FILES= usr/lib/libSDL_image-1.2.so.0 usr/lib/libSDL_image-1.2.so.0.1.4
+DOCSDIR= ${PREFIX}/usr/share/doc/${LINUX_NAME}-${PORTVERSION}
+PORTDOCS= CHANGES COPYING README
.include <bsd.port.mk>
diff --git a/graphics/linux-sdl_image/pkg-plist b/graphics/linux-sdl_image/pkg-plist
deleted file mode 100644
index 3f46d8948388..000000000000
--- a/graphics/linux-sdl_image/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-%%PORTDOCS%%usr/share/doc/SDL_image-%%SDLIMVER%%/CHANGES
-%%PORTDOCS%%usr/share/doc/SDL_image-%%SDLIMVER%%/COPYING
-%%PORTDOCS%%usr/share/doc/SDL_image-%%SDLIMVER%%/README
-usr/lib/libSDL_image-1.2.so.0
-usr/lib/libSDL_image-1.2.so.0.1.4
-@dirrm usr/share/doc/SDL_image-%%SDLIMVER%%