1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/tuxpaint/Makefile
Tijl Coosemans 5850f0e383 converters/fribidi:
- Add USES=libtool and bump dependent ports
- Add INSTALL_TARGET=install-strip
2014-08-31 11:54:16 +00:00

49 lines
1.5 KiB
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= tuxpaint
PORTVERSION= 0.9.21
PORTREVISION= 5
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Drawing program designed for young children
LIB_DEPENDS= libfribidi.so:${PORTSDIR}/converters/fribidi \
libpaper.so:${PORTSDIR}/print/libpaper
OPTIONS_DEFINE= DOCS
USE_GNOME= librsvg2
USE_SDL= image mixer sdl ttf pango
USES= gettext gmake pkgconfig
MAKE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PREFIX="${PREFIX}" \
DOC_PREFIX="${STAGEDIR}${DOCSDIR}" \
DEVDOC_PREFIX="${STAGEDIR}${DOCSDIR}/dev" \
MAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \
DEVMAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \
X11_ICON_PREFIX="${STAGEDIR}${PREFIX}/share/pixmaps" \
ARCH_INSTALL="" \
OPTFLAGS="${CFLAGS} -DHAVE_STRCASESTR" \
MAGIC_CFLAGS="${CFLAGS} -fno-common -Isrc `$(SDL_CONFIG) --cflags `" \
SHARED_FLAGS="-shared -fPIC"
INSTALL_TARGET= install-bin install-data install-man install-magic-plugins \
install-magic-plugin-dev install-icon install-gettext \
install-im install-importscript install-default-config \
install-example-stamps install-example-starters install-doc
post-extract:
@${RM} -rf ${WRKSRC}/fonts/locale/vi_docs
post-patch:
.for file in src/tuxpaint-import.sh src/tp_magic_api.h.in src/tuxpaint.conf \
hildon/tuxpaint.conf
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>