aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-06-04 07:51:29 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2009-06-04 07:51:29 +0000
commitb5833344e3d286c0b260dcc2fdd79882e6337aee (patch)
tree924c2be8b422edd69391336d0a17be57ba44a343
parent8e145e22eaf262832db0c3a64f2732971e49db72 (diff)
downloadports-b5833344e3d286c0b260dcc2fdd79882e6337aee.tar.gz
ports-b5833344e3d286c0b260dcc2fdd79882e6337aee.zip
Notes
-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%%