Index: head/games/gweled/Makefile =================================================================== --- head/games/gweled/Makefile (revision 122924) +++ head/games/gweled/Makefile (revision 122925) @@ -1,22 +1,28 @@ # New ports collection makefile for: gweled # Date created: November 28, 2003 # Whom: James Earl # # $FreeBSD$ # PORTNAME= gweled -PORTVERSION= 0.5 -PORTREVISION= 1 +PORTVERSION= 0.6 CATEGORIES= games gnome MASTER_SITES= http://sebdelestaing.free.fr/gweled/Release/ MAINTAINER= gnome@FreeBSD.org COMMENT= GNOME version of the game called "Bejeweled" or "Diamond Mine" USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui librsvg2 +USE_REINPLACE= yes GNU_CONFIGURE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|/var/games|${PREFIX}/share/gnome/games|' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|$${MKDIRPROG-mkdir}|mkdir -p|' \ + ${WRKSRC}/install-sh .include Property changes on: head/games/gweled/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.6 \ No newline at end of property +1.7 \ No newline at end of property Index: head/games/gweled/distinfo =================================================================== --- head/games/gweled/distinfo (revision 122924) +++ head/games/gweled/distinfo (revision 122925) @@ -1,2 +1,2 @@ -MD5 (gweled-0.5.tar.gz) = 238f5ef66317bb24c3d4018a7d1e9ec3 -SIZE (gweled-0.5.tar.gz) = 163122 +MD5 (gweled-0.6.tar.gz) = 40b4eaa8e1aca93cf6bc9d91a3c2c048 +SIZE (gweled-0.6.tar.gz) = 168308 Property changes on: head/games/gweled/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/games/gweled/pkg-install =================================================================== --- head/games/gweled/pkg-install (revision 122924) +++ head/games/gweled/pkg-install (revision 122925) @@ -1,13 +1,13 @@ #!/bin/sh if [ "$2" = "POST-INSTALL" ]; then mkdir -p ${PKG_PREFIX}/share/gnome/games - SCORES="gweled.easy.scores" + SCORES="gweled.easy.scores gweled.timed.scores" for i in ${SCORES}; do if [ ! -f ${PKG_PREFIX}/share/gnome/games/${i} ]; then touch -f ${PKG_PREFIX}/share/gnome/games/${i} chown games:games ${PKG_PREFIX}/share/gnome/games/${i} - chmod 664 ${PKG_PREFIX}/share/gnome/games/${i} + chmod 0664 ${PKG_PREFIX}/share/gnome/games/${i} fi done fi Property changes on: head/games/gweled/pkg-install ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property