diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-09 06:52:01 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-11-09 06:52:01 +0800 |
commit | c2dadc2f86e621b29e1cdaedd2c35b1fe0bf9cbe (patch) | |
tree | 657058ec67110f51be744922e5b6cd785de2f2d1 /games | |
parent | 6882cab6b7998f5618e55f2e49ad234bd306caf2 (diff) | |
download | marcuscom-ports-c2dadc2f86e621b29e1cdaedd2c35b1fe0bf9cbe.tar marcuscom-ports-c2dadc2f86e621b29e1cdaedd2c35b1fe0bf9cbe.tar.gz marcuscom-ports-c2dadc2f86e621b29e1cdaedd2c35b1fe0bf9cbe.tar.bz2 marcuscom-ports-c2dadc2f86e621b29e1cdaedd2c35b1fe0bf9cbe.tar.lz marcuscom-ports-c2dadc2f86e621b29e1cdaedd2c35b1fe0bf9cbe.tar.xz marcuscom-ports-c2dadc2f86e621b29e1cdaedd2c35b1fe0bf9cbe.tar.zst marcuscom-ports-c2dadc2f86e621b29e1cdaedd2c35b1fe0bf9cbe.zip |
Fix paths in glchess and gnome-sudoku.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7891 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games')
-rw-r--r-- | games/gnome-games/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile index 57c78c468..220ec43a6 100644 --- a/games/gnome-games/Makefile +++ b/games/gnome-games/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/games/gnome-games/Makefile,v 1.122 2006/10/19 01:43:22 marcus Exp $ +# $MCom: ports/games/gnome-games/Makefile,v 1.123 2006/11/07 23:12:48 marcus Exp $ # PORTNAME= gnome-games PORTVERSION= 2.17.2 +PORTREVISION= 1 CATEGORIES= games gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -46,6 +47,15 @@ CONFLICTS= sol-1.0.* glchess-[0-9]* gnomesudoku-[0-9]* gnuchess-[0-9]* LIB_DEPENDS+= avahi-client:${PORTSDIR}/net/avahi .endif +post-patch: + @${REINPLACE_CMD} -e 's|share|share/gnome|g ; \ + s|/usr/local|${PREFIX}|g' \ + ${WRKSRC}/gnome-sudoku/src/lib/defaults.py \ + ${WRKSRC}/glchess/src/lib/defaults.py + @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share/gnome|' \ + ${WRKSRC}/gnome-sudoku/src/gnome-sudoku \ + ${WRKSRC}/glchess/src/glchess + post-install: @-update-desktop-database |