mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
e8ed2fa01e
- Remove USE_REINPLACE. Approved by: garga (mentor)
42 lines
932 B
Makefile
42 lines
932 B
Makefile
# New ports collection makefile for: tuxpaint
|
|
# Date created: 14 Jul 2005
|
|
# Whom: Alejandro Pulver <alejandro@varnet.biz>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tuxpaint
|
|
PORTVERSION= 0.9.15b
|
|
CATEGORIES= games
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= alepulver@FreeBSD.org
|
|
COMMENT= Drawing program designed for young children
|
|
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
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:
|
|
# Documentation.
|
|
.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| ; \
|
|
s|#error.*||' \
|
|
${WRKSRC}/src/${PORTNAME}.c
|
|
|
|
.include <bsd.port.post.mk>
|