aboutsummaryrefslogtreecommitdiff
path: root/graphics/linux-f10-sdl_image
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2006-08-03 23:24:08 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2006-08-03 23:24:08 +0000
commit67a394faf7587776e980a62224439c4693c5a305 (patch)
treebdf750e1909f848d6c48b77eb8a86c0dee67fb7a /graphics/linux-f10-sdl_image
parent83b637ebdc14e523f31a2e7b1c7e6a3ca624dbc0 (diff)
downloadports-67a394faf7587776e980a62224439c4693c5a305.tar.gz
ports-67a394faf7587776e980a62224439c4693c5a305.zip
Notes
Diffstat (limited to 'graphics/linux-f10-sdl_image')
-rw-r--r--graphics/linux-f10-sdl_image/Makefile37
-rw-r--r--graphics/linux-f10-sdl_image/distinfo9
-rw-r--r--graphics/linux-f10-sdl_image/pkg-plist10
3 files changed, 18 insertions, 38 deletions
diff --git a/graphics/linux-f10-sdl_image/Makefile b/graphics/linux-f10-sdl_image/Makefile
index 0dcc77234a72..5efe067f5163 100644
--- a/graphics/linux-f10-sdl_image/Makefile
+++ b/graphics/linux-f10-sdl_image/Makefile
@@ -7,44 +7,21 @@
#
PORTNAME= sdl_image
-PORTVERSION= 1.2.4
+PORTVERSION= 1.2.5
CATEGORIES= graphics linux
MASTER_SITES= http://www.libsdl.org/projects/SDL_image/release/
-PKGNAMEPREFIX= linux-
-DISTNAME= SDL_image-${PORTVERSION}-1.${MACHINE_ARCH}
-EXTRACT_SUFX= .rpm
-EXTRACT_ONLY=
+DISTNAME= SDL_image-${PORTVERSION}-1
MAINTAINER= nivit@users.sourceforge.net
COMMENT= A simple library to load images as SDL interfaces (linux version)
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libSDL-1.2.so.0:${PORTSDIR}/devel/linux-sdl12
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-USE_LINUX= yes
-USE_LINUX_PREFIX= yes
-LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
+USE_LINUX_RPM= yes
+INSTALL_SHLIB= yes
ONLY_FOR_ARCHS= i386 amd64
DIST_SUBDIR= rpm
-NO_BUILD= yes
-
-DBPATH= /var/lib/rpm
-RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
- --nodeps --replacepkgs
-.if defined(NOPORTDOCS)
-RPMFLAGS+= --excludedocs
-.endif
-RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "amd64"
-MACHINE_ARCH= i386
-.endif
-
-do-install:
- @${LOCALBASE}/bin/rpm -U ${RPMFLAGS} ${RPMDIR}/${DISTFILES}
- @${LDCONFIG_LINUX}
+PLIST_SUB+= SDLIMVER=${PORTVERSION}
+MD5_FILE= ${PKGDIR}/distinfo
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/linux-f10-sdl_image/distinfo b/graphics/linux-f10-sdl_image/distinfo
index 0c4912788411..c5303956aee0 100644
--- a/graphics/linux-f10-sdl_image/distinfo
+++ b/graphics/linux-f10-sdl_image/distinfo
@@ -1,3 +1,6 @@
-MD5 (rpm/SDL_image-1.2.4-1.i386.rpm) = 3a6ef683206eb77b8ed064e78c3f7e9c
-SHA256 (rpm/SDL_image-1.2.4-1.i386.rpm) = 87d857c261f68c7942bc7b2a06d90768a3d43d9bdb4f9ce5f26fbf94b6713e2e
-SIZE (rpm/SDL_image-1.2.4-1.i386.rpm) = 32195
+MD5 (rpm/SDL_image-1.2.5-1.i386.rpm) = 0dc78395e2e79598b972e6b50242cfb2
+SHA256 (rpm/SDL_image-1.2.5-1.i386.rpm) = 83619c4ab7175f3db405b206c6d71bc9b2d7e52169494357bc3f8b19c21f2fd1
+SIZE (rpm/SDL_image-1.2.5-1.i386.rpm) = 36284
+MD5 (rpm/SDL_image-1.2.5-1.src.rpm) = 62d7ea476bc0b69acb4b4e27d3751377
+SHA256 (rpm/SDL_image-1.2.5-1.src.rpm) = c89a29085d8f490131e228e782b7a34fc48aa3a9b431c24c8baa6e5fa8c07296
+SIZE (rpm/SDL_image-1.2.5-1.src.rpm) = 1311048
diff --git a/graphics/linux-f10-sdl_image/pkg-plist b/graphics/linux-f10-sdl_image/pkg-plist
index eabcbc34ad42..3f46d8948388 100644
--- a/graphics/linux-f10-sdl_image/pkg-plist
+++ b/graphics/linux-f10-sdl_image/pkg-plist
@@ -1,6 +1,6 @@
-%%PORTDOCS%%usr/doc/SDL_image-1.2.4/CHANGES
-%%PORTDOCS%%usr/doc/SDL_image-1.2.4/COPYING
-%%PORTDOCS%%usr/doc/SDL_image-1.2.4/README
+%%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.3
-@dirrm usr/doc/SDL_image-1.2.4
+usr/lib/libSDL_image-1.2.so.0.1.4
+@dirrm usr/share/doc/SDL_image-%%SDLIMVER%%