=================================================================== RCS file: /cvs/ports/games/xmoto/Attic/Makefile,v retrieving revision 1.2 retrieving revision 1.5 diff -u -r1.2 -r1.5 --- ports/games/xmoto/Attic/Makefile 2008/12/05 22:21:04 1.2 +++ ports/games/xmoto/Attic/Makefile 2009/04/17 22:53:31 1.5 @@ -1,15 +1,16 @@ -# $OpenBSD: Makefile,v 1.2 2008/12/05 22:21:04 yason Exp $ +# $OpenBSD: Makefile,v 1.5 2009/04/17 21:53:31 yason Exp $ COMMENT = challenging 2D motocross platform game -DISTNAME = xmoto-0.5.0-src -PKGNAME = xmoto-0.5.0 +V = 0.5.1 +DISTNAME = xmoto-${V}src +PKGNAME = xmoto-${V} CATEGORIES = games HOMEPAGE = http://xmoto.tuxfamily.org/ -MAINTAINER = Kirill S. Bychkov +MAINTAINER = Kirill Bychkov # GPLv2 PERMIT_PACKAGE_CDROM = Yes @@ -19,7 +20,7 @@ WANTLIB = GL GLU X11 c iconv m pthread stdc++ z -MASTER_SITES = http://download.tuxfamily.org/xmoto/xmoto/0.5.0/ +MASTER_SITES = http://download.tuxfamily.org/xmoto/xmoto/${V}/ LIB_DEPENDS = SDL::devel/sdl \ SDL_mixer::devel/sdl-mixer \ @@ -41,5 +42,10 @@ LIBS="-lGL -lm -pthread" WRKDIST = ${WRKDIR}/${PKGNAME} + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xmoto/ + ${INSTALL_DATA} ${WRKSRC}/COPYING ${PREFIX}/share/doc/xmoto/ + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmoto/ .include