diff options
author | sat <sat@FreeBSD.org> | 2007-01-24 06:02:02 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-01-24 06:02:02 +0800 |
commit | 8530bb3350f7c2c9e8d9a46ceb603301a5629c05 (patch) | |
tree | fd7714b6992d25e856856047ee0fceeba8d23b38 /graphics/shim | |
parent | 12d9faab907e1bb372a76466b9fe111696768f8f (diff) | |
download | freebsd-ports-graphics-8530bb3350f7c2c9e8d9a46ceb603301a5629c05.tar.gz freebsd-ports-graphics-8530bb3350f7c2c9e8d9a46ceb603301a5629c05.tar.zst freebsd-ports-graphics-8530bb3350f7c2c9e8d9a46ceb603301a5629c05.zip |
Add port graphics/shim:
shim Is a utility to show images of various formats, it needs the SDL
and SDL_image libraries (Simple Direct media Layer). Depending on your
SDL_image library it will support the following formats: png, lbm, jpg,
tif, gif, pcx, tga, bmp, pnm, xpm, xcf.
WWW: http://corp.efnet.net/~lamer/pegasosppc/shim.html
Author: Jeroen van Aart <aq@ownaq.com>
Diffstat (limited to 'graphics/shim')
-rw-r--r-- | graphics/shim/Makefile | 34 | ||||
-rw-r--r-- | graphics/shim/distinfo | 3 | ||||
-rw-r--r-- | graphics/shim/pkg-descr | 7 |
3 files changed, 44 insertions, 0 deletions
diff --git a/graphics/shim/Makefile b/graphics/shim/Makefile new file mode 100644 index 00000000000..ed7fa5d0e95 --- /dev/null +++ b/graphics/shim/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: shim +# Date created: 24 January 2007 +# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= shim +DISTVERSION= 1.1b +CATEGORIES= graphics +MASTER_SITES= http://corp.efnet.net/~lamer/pegasosppc/download/ CSME + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Show images of various formats + +USE_SDL= image gfx +CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} +LDFLAGS+= -lSDL -lSDL_image -lSDL_gfx -L${LOCALBASE}/lib ${PTHREAD_LIBS} +NO_WRKSUBDIR= yes +PLIST_FILES= bin/shim + +post-extract: + @${RM} ${WRKSRC}/SDL_rotozoom.[ch] + +post-patch: + @${REINPLACE_CMD} -e '/SDL_rotozoom/s|\.c|.h|' ${WRKSRC}/shim.c + +do-build: + @cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o shim shim.c + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/shim ${PREFIX}/bin/ + +.include <bsd.port.mk> diff --git a/graphics/shim/distinfo b/graphics/shim/distinfo new file mode 100644 index 00000000000..80dad8467bc --- /dev/null +++ b/graphics/shim/distinfo @@ -0,0 +1,3 @@ +MD5 (shim-1.1b.tar.gz) = 2f383fab85443a501dd6cc68ce063a7f +SHA256 (shim-1.1b.tar.gz) = 50a198bc1084cf016b247f092c48ff8413e2491f372b4e69d258387aecd90884 +SIZE (shim-1.1b.tar.gz) = 19852 diff --git a/graphics/shim/pkg-descr b/graphics/shim/pkg-descr new file mode 100644 index 00000000000..a039c906bd9 --- /dev/null +++ b/graphics/shim/pkg-descr @@ -0,0 +1,7 @@ +shim Is a utility to show images of various formats, it needs the SDL +and SDL_image libraries (Simple Direct media Layer). Depending on your +SDL_image library it will support the following formats: png, lbm, jpg, +tif, gif, pcx, tga, bmp, pnm, xpm, xcf. + +WWW: http://corp.efnet.net/~lamer/pegasosppc/shim.html +Author: Jeroen van Aart <aq@ownaq.com> |