diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-08 04:21:17 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2001-08-08 04:21:17 +0000 |
commit | 5b76d763f73aceb0658e2f1bcf8a276ecd2e54da (patch) | |
tree | 607b9657c36db2713ab535a305336302d52431f5 /games/tuxtype/Makefile | |
parent | Upgrade to 0.11.1... The contents of the patch-tmp should really be (diff) |
New port tuxtype version 1.0: And educational typing tutor starring
Tux the Linux Penguin
Have it run after some letters for a change ;-)
Submitted by: Patrick Li <pat@databits.net>
Notes
Notes:
svn path=/head/; revision=45939
Diffstat (limited to 'games/tuxtype/Makefile')
-rw-r--r-- | games/tuxtype/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/games/tuxtype/Makefile b/games/tuxtype/Makefile new file mode 100644 index 000000000000..c6dd18ab4f91 --- /dev/null +++ b/games/tuxtype/Makefile @@ -0,0 +1,41 @@ +# New ports collection makefile for: tuxtype +# Date created: Mon Aug 6 21:53:03 EDT 2001 +# Whom: Patrick Li <pat@databits.net> +# +# $FreeBSD$ +# + +PORTNAME= tuxtype +PORTVERSION= 1.0 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= pat@databits.net + +LIB_DEPENDS= SDL_image.10:${PORTSDIR}/graphics/sdl_image \ + SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer + +USE_X_PREFIX= yes +USE_AUTOCONF= yes +USE_GMAKE= yes +SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config +CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" + +pre-patch: +.for dirs in data images sounds docs/en .. + @${PERL} -pi.orig -e 's|${LOCALBASE}/share/tuxtype|${DATADIR}|; \ + s|/usr/doc/tuxtype|${DOCSDIR}|' \ + ${WRKSRC}/tuxtype/${dirs}/Makefile.am +.endfor +.for files in graphics playgame + @${PERL} -pi.orig -e 's|${LOCALBASE}/share/tuxtype|${DATADIR}|' \ + ${WRKSRC}/tuxtype/${files}.h +.endfor + +post-install: +.if defined(NOPORTDOCS) + @${RM} -Rf ${DOCSDIR} +.endif + +.include <bsd.port.mk> |