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>
2007-01-23 17:02:02 -05:00
|
|
|
# New ports collection makefile for: shim
|
|
|
|
# Date created: 24 January 2007
|
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= shim
|
|
|
|
DISTVERSION= 1.1b
|
2008-03-13 10:28:35 -04:00
|
|
|
PORTREVISION= 2
|
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>
2007-01-23 17:02:02 -05:00
|
|
|
CATEGORIES= graphics
|
2007-04-18 04:01:25 -04:00
|
|
|
MASTER_SITES= http://corp.efnet.net/~lamer/pegasosppc/download/ CENKES
|
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>
2007-01-23 17:02:02 -05:00
|
|
|
|
2008-09-06 20:19:05 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
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>
2007-01-23 17:02:02 -05:00
|
|
|
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>
|