diff options
author | Mark Pulford <markp@FreeBSD.org> | 2002-08-04 09:36:57 +0000 |
---|---|---|
committer | Mark Pulford <markp@FreeBSD.org> | 2002-08-04 09:36:57 +0000 |
commit | 1fc66763482634c417343c66ba2e3e0a1be106b2 (patch) | |
tree | 628511469d13a0e9f2f048faace4bd30cd0ebf82 /games/marbles/Makefile | |
parent | c1dd38971cb38581b0d24c76c67f75addaef476a (diff) |
Add marbles 1.0.2, a challenging puzzle game similar to Atomix.
PR: 40590
Submitted by: verm@drunkmonk.net
Notes
Notes:
svn path=/head/; revision=63966
Diffstat (limited to 'games/marbles/Makefile')
-rw-r--r-- | games/marbles/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/games/marbles/Makefile b/games/marbles/Makefile new file mode 100644 index 000000000000..731103ab7010 --- /dev/null +++ b/games/marbles/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: marbles +# Date created: 12 June 2002 +# Whom: verm@drunkmonk.net +# +# $FreeBSD$ +# + +PORTNAME= marbles +PORTVERSION= 1.0.2 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= lgames + +MAINTAINER= verm@drunkmonk.net + +LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 + +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-profile-path=/var/games +CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl11-config +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's/SDL\///' ${WRKSRC}/src/*.[ch] + @${REINPLACE_CMD} -e 's/^#include "sys\/timeb.h"//' \ + ${WRKSRC}/src/timer.c + @${REINPLACE_CMD} -e 's/games\/marbles/marbles/g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's/if .*marbles.prfs/if false/' \ + ${WRKSRC}/src/Makefile.in + +post-install: + ${INSTALL_DATA} ${WRKSRC}/src/empty.prfs ${DATADIR} + @${CHOWN} root:games ${PREFIX}/bin/marbles + @${CHMOD} g+s ${PREFIX}/bin/marbles + @${SETENV} "PKG_PREFIX=${PREFIX}" \ + ${SH} pkg-install ${PKGNAME} POST-INSTALL +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/src/manual/* ${DOCSDIR} +.endif + +.include <bsd.port.mk> |