summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2005-01-17 15:11:18 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2005-01-17 15:11:18 +0000
commitb6a3829bb9b6bd1bdce69d7e3bfc5252bc154377 (patch)
tree953dbb17062cfd25107c3dc934b987e1527dc2eb
parent- Update to 2.1b (diff)
Fix ownership of kgoldrunner gamedata files.
PR: ports/76327 Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Notes
Notes: svn path=/head/; revision=126645
-rw-r--r--games/kdegames3/Makefile9
-rw-r--r--games/kdegames4/Makefile9
2 files changed, 12 insertions, 6 deletions
diff --git a/games/kdegames3/Makefile b/games/kdegames3/Makefile
index e0357bb5f197..80166af61196 100644
--- a/games/kdegames3/Makefile
+++ b/games/kdegames3/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kdegames
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= games kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -25,7 +26,9 @@ GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib
-.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|root:root|${BINOWN}:${BINGRP}|g' \
+ ${WRKSRC}/kgoldrunner/gamedata/Makefile.in
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
+.include <bsd.port.mk>
diff --git a/games/kdegames4/Makefile b/games/kdegames4/Makefile
index e0357bb5f197..80166af61196 100644
--- a/games/kdegames4/Makefile
+++ b/games/kdegames4/Makefile
@@ -7,6 +7,7 @@
PORTNAME= kdegames
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= games kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -25,7 +26,9 @@ GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib
-.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's|root:root|${BINOWN}:${BINGRP}|g' \
+ ${WRKSRC}/kgoldrunner/gamedata/Makefile.in
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
+.include <bsd.port.mk>