diff options
author | bsam <bsam@FreeBSD.org> | 2006-08-04 07:24:08 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2006-08-04 07:24:08 +0800 |
commit | 20219db5acd51f6354376543508bda555a1fbd18 (patch) | |
tree | 325d38d9882573f0aa4232e59a8ae692d6b49ef6 /graphics/linux-f8-sdl_image | |
parent | 34a69f821116d8a7a092854e552621aa0e299048 (diff) | |
download | freebsd-ports-graphics-20219db5acd51f6354376543508bda555a1fbd18.tar.gz freebsd-ports-graphics-20219db5acd51f6354376543508bda555a1fbd18.tar.zst freebsd-ports-graphics-20219db5acd51f6354376543508bda555a1fbd18.zip |
o convert the port to use bsd.linux-rpm.mk infrostructure;
o update to a newer version 1.2.5;
o add fetching of the sources when PACKAGE_BUILDING=YES;
o introduce SDLIMVER to be used at pkg-plist file.
Approved by: nivit@users.sourceforge.net (maintainer timeout, emailed 2006-06-26,
netchild (mentor, implicit)
Diffstat (limited to 'graphics/linux-f8-sdl_image')
-rw-r--r-- | graphics/linux-f8-sdl_image/Makefile | 37 | ||||
-rw-r--r-- | graphics/linux-f8-sdl_image/distinfo | 9 | ||||
-rw-r--r-- | graphics/linux-f8-sdl_image/pkg-plist | 10 |
3 files changed, 18 insertions, 38 deletions
diff --git a/graphics/linux-f8-sdl_image/Makefile b/graphics/linux-f8-sdl_image/Makefile index 0dcc77234a7..5efe067f516 100644 --- a/graphics/linux-f8-sdl_image/Makefile +++ b/graphics/linux-f8-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-f8-sdl_image/distinfo b/graphics/linux-f8-sdl_image/distinfo index 0c491278841..c5303956aee 100644 --- a/graphics/linux-f8-sdl_image/distinfo +++ b/graphics/linux-f8-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-f8-sdl_image/pkg-plist b/graphics/linux-f8-sdl_image/pkg-plist index eabcbc34ad4..3f46d894838 100644 --- a/graphics/linux-f8-sdl_image/pkg-plist +++ b/graphics/linux-f8-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%% |