1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/graphics/shim/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

36 lines
833 B
Makefile

# New ports collection makefile for: shim
# Date created: 24 January 2007
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= shim
DISTVERSION= 1.1b
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://corp.efnet.net/~lamer/pegasosppc/download/ CENKES
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>