1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/games/tuxpaint/Makefile
Wen Heping 6941f343a6 - Update to 0.9.23
- Take maintainership
2018-09-17 02:43:14 +00:00

63 lines
1.6 KiB
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= tuxpaint
PORTVERSION= 0.9.23
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= wen@FreeBSD.org
COMMENT= Drawing program designed for young children
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt
LIB_DEPENDS= libfribidi.so:converters/fribidi \
libpaper.so:print/libpaper
RUN_DEPENDS= anytopnm:graphics/netpbm \
bash:shells/bash
USES= gettext gmake gperf pkgconfig shebangfix
SHEBANG_FILES= src/tuxpaint-import.sh
USE_GNOME= librsvg2
USE_SDL= image mixer sdl ttf pango
MAKE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PREFIX="${PREFIX}" \
MAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \
DEVMAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \
X11_ICON_PREFIX="${STAGEDIR}${PREFIX}/share/pixmaps" \
GNOME_PREFIX="${PREFIX}" \
ARCH_INSTALL="" \
OPTFLAGS="${CFLAGS} -DHAVE_STRCASESTR" \
SHARED_FLAGS="-shared -fPIC" \
GPERF="${GPERF}"
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-gettext install-im install-magic-plugins \
install-magic-plugin-dev install-default-config \
install-example-stamps install-example-starters \
install-icon install-bin install-importscript \
install-data install-doc install-man
PORTDOCS= *
PORTDATA= *
OPTIONS_DEFINE= DOCS
post-extract:
@${RM} -r ${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
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tuxpaint
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tuxpaint/plugins/*.so
.include <bsd.port.mk>