2005-07-19 21:34:19 +00:00
|
|
|
# New ports collection makefile for: tuxpaint
|
|
|
|
# Date created: 14 Jul 2005
|
|
|
|
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tuxpaint
|
2006-04-17 20:19:42 +00:00
|
|
|
PORTVERSION= 0.9.15b
|
2005-07-19 21:34:19 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2006-04-09 13:08:16 +00:00
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
2005-07-19 21:34:19 +00:00
|
|
|
COMMENT= Drawing program designed for young children
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2005-09-25 22:07:03 +00:00
|
|
|
USE_GETTEXT= yes
|
2005-07-19 21:34:19 +00:00
|
|
|
USE_SDL= image mixer sdl ttf
|
|
|
|
|
|
|
|
MAN1= tuxpaint.1 tuxpaint-import.1
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
IGNORE= needs wide character string functions in libc
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2005-11-29 01:07:46 +00:00
|
|
|
# Documentation.
|
2005-07-19 21:34:19 +00:00
|
|
|
.if defined(NOPORTDOCS)
|
|
|
|
@${REINPLACE_CMD} -e 's|install-doc\([^:]\)|\1|' ${WRKSRC}/${MAKEFILE}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# Fix SDL include statement and remove "#error" statement
|
|
|
|
@${REINPLACE_CMD} -e 's|\(#include.*\)SDL/\(SDL.*\)|\1\2| ; \
|
2005-11-29 01:07:46 +00:00
|
|
|
s|#error.*||' \
|
|
|
|
${WRKSRC}/src/${PORTNAME}.c
|
2005-07-19 21:34:19 +00:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|