pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/crossfire-maps Fix dependencies and script pathe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf2c6d91e7cf
branches:  trunk
changeset: 532792:bf2c6d91e7cf
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 30 19:55:30 2007 +0000

description:
Fix dependencies and script pathes. Bump revision.

diffstat:

 games/crossfire-maps/Makefile |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r e9db28f20568 -r bf2c6d91e7cf games/crossfire-maps/Makefile
--- a/games/crossfire-maps/Makefile     Thu Aug 30 19:49:00 2007 +0000
+++ b/games/crossfire-maps/Makefile     Thu Aug 30 19:55:30 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/05/11 06:07:40 adam Exp $
+# $NetBSD: Makefile,v 1.2 2007/08/30 19:55:30 joerg Exp $
 
 DISTNAME=      crossfire-1.9.0-1.maps
 PKGNAME=       crossfire-maps-1.9.0.1
+PKGREVISION=   1
 CATEGORIES=    games x11
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=crossfire/}
 EXTRACT_SUFX=  .tar.bz2
@@ -10,19 +11,24 @@
 HOMEPAGE=      http://crossfire.real-time.com/
 COMMENT=       X11 multi/single player game similar to gauntlet and nethack
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=      crossfire-server>=1.9.0:../../games/crossfire-server
 
+USE_TOOLS+=    bash:run perl:run
+
 WRKSRC=                        ${WRKDIR}/maps
 NO_BUILD=              yes
 
 PLIST_SRC=     ${WRKDIR}/PLIST PLIST
 
+REPLACE_BASH+= brest/pshops/pshop_copier
 REPLACE_PERL+= Info/combine.pl Info/map_sed.pl Info/rewrite_exits.pl
 REPLACE_PERL+= Info/rewrite_styles.pl Info/update_apart.pl Info/update_exits.pl
 
 do-install:
-       cd ${WRKDIR} && ${CP} -R maps ${PREFIX}/share/crossfire
-       cd ${PREFIX} && \
+       cd ${WRKDIR} && ${CP} -R maps ${DESTDIR}${PREFIX}/share/crossfire
+       cd ${DESTDIR}${PREFIX} && \
                ${FIND} share/crossfire/maps -type f -print >> ${WRKDIR}/PLIST
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index