aboutsummaryrefslogtreecommitdiff
path: root/games/lmarbles/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-10-05 22:58:29 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-10-05 22:58:29 +0000
commit918a404e85d6986fb47c223ee7893891acbb4b58 (patch)
treecc7eae8f8503f55b0b0c46b8374266022f027288 /games/lmarbles/Makefile
parentbc4f05e7a126a92d0e7ac53248d7a637a77af910 (diff)
downloadports-918a404e85d6986fb47c223ee7893891acbb4b58.tar.gz
ports-918a404e85d6986fb47c223ee7893891acbb4b58.zip
Notes
Diffstat (limited to 'games/lmarbles/Makefile')
-rw-r--r--games/lmarbles/Makefile25
1 files changed, 10 insertions, 15 deletions
diff --git a/games/lmarbles/Makefile b/games/lmarbles/Makefile
index ee9af76751a9..80b0715fe5c9 100644
--- a/games/lmarbles/Makefile
+++ b/games/lmarbles/Makefile
@@ -6,40 +6,35 @@
#
PORTNAME= marbles
-PORTVERSION= 1.0.2
-PORTREVISION= 3
+PORTVERSION= 1.0.7
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lgames
+DISTNAME= lmarbles-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A challenging puzzle game similar to Atomix
-USE_SDL= sdl
+USE_SDL= sdl mixer
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-profile-path=/var/games
+CONFIGURE_ARGS= --localstatedir=/var/games
USE_REINPLACE= yes
-MAN6= marbles.6
+MAN6= lmarbles.6
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
+ ${INSTALL_DATA} ${WRKSRC}/src/empty.prfs ${PREFIX}/share/lmarbles
+ @${CHOWN} root:games ${PREFIX}/bin/lmarbles
+ @${CHMOD} g+s ${PREFIX}/bin/lmarbles
@${SETENV} "PKG_PREFIX=${PREFIX}" \
${SH} pkg-install ${PKGNAME} POST-INSTALL
.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/src/manual/* ${DOCSDIR}
+ ${MKDIR} ${PREFIX}/share/doc/lmarbles
+ ${INSTALL_DATA} ${WRKSRC}/src/manual/* ${PREFIX}/share/doc/lmarbles
.endif
.include <bsd.port.mk>