2013-07-25 23:13:59 +02:00
|
|
|
# Created by: Alejandro Pulver <alejandro@varnet.biz>
|
2005-07-19 23:34:19 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tuxpaint
|
2018-09-17 04:43:14 +02:00
|
|
|
PORTVERSION= 0.9.23
|
2005-07-19 23:34:19 +02:00
|
|
|
CATEGORIES= games
|
2006-11-08 21:16:47 +01:00
|
|
|
MASTER_SITES= SF
|
2005-07-19 23:34:19 +02:00
|
|
|
|
2018-09-17 04:43:14 +02:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
2005-07-19 23:34:19 +02:00
|
|
|
COMMENT= Drawing program designed for young children
|
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2014-09-23 14:20:51 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/docs/COPYING.txt
|
2014-09-21 14:00:39 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libfribidi.so:converters/fribidi \
|
|
|
|
libpaper.so:print/libpaper
|
|
|
|
RUN_DEPENDS= anytopnm:graphics/netpbm \
|
|
|
|
bash:shells/bash
|
2013-07-25 23:13:59 +02:00
|
|
|
|
2014-10-07 17:57:43 +02:00
|
|
|
USES= gettext gmake gperf pkgconfig shebangfix
|
2014-09-21 14:00:39 +02:00
|
|
|
SHEBANG_FILES= src/tuxpaint-import.sh
|
2011-08-10 16:30:56 +02:00
|
|
|
USE_GNOME= librsvg2
|
2007-12-12 18:43:57 +01:00
|
|
|
USE_SDL= image mixer sdl ttf pango
|
2011-08-10 16:30:56 +02:00
|
|
|
MAKE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
PREFIX="${PREFIX}" \
|
2013-11-05 01:17:33 +01:00
|
|
|
MAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \
|
|
|
|
DEVMAN_PREFIX="${STAGEDIR}${MANPREFIX}/man" \
|
|
|
|
X11_ICON_PREFIX="${STAGEDIR}${PREFIX}/share/pixmaps" \
|
2014-09-21 14:00:39 +02:00
|
|
|
GNOME_PREFIX="${PREFIX}" \
|
2011-08-10 16:30:56 +02:00
|
|
|
ARCH_INSTALL="" \
|
|
|
|
OPTFLAGS="${CFLAGS} -DHAVE_STRCASESTR" \
|
2014-10-07 19:20:59 +02:00
|
|
|
SHARED_FLAGS="-shared -fPIC" \
|
|
|
|
GPERF="${GPERF}"
|
2005-07-19 23:34:19 +02:00
|
|
|
|
2018-02-20 01:15:56 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
2014-09-21 14:00:39 +02:00
|
|
|
INSTALL_TARGET= install-gettext install-im install-magic-plugins \
|
|
|
|
install-magic-plugin-dev install-default-config \
|
|
|
|
install-example-stamps install-example-starters \
|
2018-09-17 04:43:14 +02:00
|
|
|
install-icon install-bin install-importscript \
|
2014-09-21 14:00:39 +02:00
|
|
|
install-data install-doc install-man
|
|
|
|
|
2014-09-23 14:20:51 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
PORTDATA= *
|
|
|
|
|
2014-09-21 14:00:39 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2011-08-10 16:30:56 +02:00
|
|
|
post-extract:
|
2016-10-21 14:51:40 +02:00
|
|
|
@${RM} -r ${WRKSRC}/fonts/locale/vi_docs
|
2011-08-10 16:30:56 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-09-21 14:00:39 +02:00
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tuxpaint
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/tuxpaint/plugins/*.so
|
|
|
|
|
2007-07-24 15:46:50 +02:00
|
|
|
.include <bsd.port.mk>
|