aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/shim/Makefile
blob: a8b3ef572acbf3d156062b550d5865b46c22aad2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    shim
# Date created:     24 January 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   shim
DISTVERSION=    1.1b
PORTREVISION=   7
CATEGORIES= graphics
MASTER_SITES=   http://corp.efnet.net/~lamer/pegasosppc/download/ CENKES

MAINTAINER= ports@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>
* - Update to 0.9.6pav2008-07-093-54/+48 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Update to 0.8.7miwi2008-01-253-4/+5