aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-07-23 02:57:44 +0800
committermarino <marino@FreeBSD.org>2013-07-23 02:57:44 +0800
commit27e696d518274ac9d1807d7648912fce55b4f2a5 (patch)
tree3e9bf7f299b1892f0cd341253dd77e22dda7e5b4
parent055001df4200fcfa6127aaf515edb8a77e6ef735 (diff)
downloadfreebsd-ports-gnome-27e696d518274ac9d1807d7648912fce55b4f2a5.tar.gz
freebsd-ports-gnome-27e696d518274ac9d1807d7648912fce55b4f2a5.tar.zst
freebsd-ports-gnome-27e696d518274ac9d1807d7648912fce55b4f2a5.zip
games/*ggz*: Convert include from absolute to relative path
In certain build setups, the use of an absolute path will cause the build to break. Approved by: bapt (mentor)
-rw-r--r--games/ggz-client-libs/Makefile5
-rw-r--r--games/ggz-gtk-client/Makefile5
-rw-r--r--games/ggz-gtk-games/Makefile5
-rw-r--r--games/ggz-kde-client/Makefile13
-rw-r--r--games/ggz-sdl-games/Makefile12
-rw-r--r--games/ggz-txt-client/Makefile5
-rw-r--r--games/libggz/Makefile5
7 files changed, 17 insertions, 33 deletions
diff --git a/games/ggz-client-libs/Makefile b/games/ggz-client-libs/Makefile
index a0746e67ab7e..3bbff946ff24 100644
--- a/games/ggz-client-libs/Makefile
+++ b/games/ggz-client-libs/Makefile
@@ -43,6 +43,5 @@ post-patch:
post-install:
@${TOUCH} ${PREFIX}/etc/ggz.modules
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../libggz/bsd.ggz.mk"
+.include <bsd.port.mk>
diff --git a/games/ggz-gtk-client/Makefile b/games/ggz-gtk-client/Makefile
index 817caefadd7c..13ea7a7163cb 100644
--- a/games/ggz-gtk-client/Makefile
+++ b/games/ggz-gtk-client/Makefile
@@ -30,6 +30,5 @@ CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../libggz/bsd.ggz.mk"
+.include <bsd.port.mk>
diff --git a/games/ggz-gtk-games/Makefile b/games/ggz-gtk-games/Makefile
index 7b73f40f94c7..20f3eec831fd 100644
--- a/games/ggz-gtk-games/Makefile
+++ b/games/ggz-gtk-games/Makefile
@@ -40,6 +40,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/spades/module.dsc ${PREFIX}/share/ggz/spades.dsc
${INSTALL_DATA} ${WRKSRC}/tictactoe/module.dsc ${PREFIX}/share/ggz/tictactoe.dsc
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../libggz/bsd.ggz.mk"
+.include <bsd.port.mk>
diff --git a/games/ggz-kde-client/Makefile b/games/ggz-kde-client/Makefile
index 84d9060b55bc..bf0750c0cec6 100644
--- a/games/ggz-kde-client/Makefile
+++ b/games/ggz-kde-client/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: ggz-kde-client
-# Date created: Feb. 19, 2006
-# Whom: yinjieh
-#
+# Created by: yinjieh
# $FreeBSD$
-#
PORTNAME= ggz-kde-client
PORTVERSION= ${GGZ_VERSION}
@@ -17,7 +13,7 @@ DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
GNU_CONFIGURE= yes
-USE_GMAKE= yes
+USES= gmake
USE_KDELIBS_VER= 3
USE_GGZ= client
@@ -27,6 +23,5 @@ MAN6= compcal.6 ggzap.6 keepalivecontrol.6 \
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}| ; s|echo aout|echo elf|' ${WRKSRC}/configure
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../libggz/bsd.ggz.mk"
+.include <bsd.port.mk>
diff --git a/games/ggz-sdl-games/Makefile b/games/ggz-sdl-games/Makefile
index 9923211c6017..f94226c3fbe3 100644
--- a/games/ggz-sdl-games/Makefile
+++ b/games/ggz-sdl-games/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for: ggz-sdl-games
-# Date created: Nov 7, 2005
-# Whom: yinjieh
-#
+# Created by: yinjieh
# $FreeBSD$
-#
PORTNAME= ggz-sdl-games
PORTVERSION= ${GGZ_VERSION}
@@ -27,6 +22,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/geekgame/module.dsc ${PREFIX}/share/ggz/geekgame.dsc
${INSTALL_DATA} ${WRKSRC}/ttt3d/module.dsc ${PREFIX}/share/ggz/ttt3d.dsc
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../libggz/bsd.ggz.mk"
+.include <bsd.port.mk>
diff --git a/games/ggz-txt-client/Makefile b/games/ggz-txt-client/Makefile
index 09d07d333ea6..58d027f323c6 100644
--- a/games/ggz-txt-client/Makefile
+++ b/games/ggz-txt-client/Makefile
@@ -32,6 +32,5 @@ post-install:
${MKDIR} ${PREFIX}/share/ggz
@${INSTALL_DATA} ${WRKSRC}/tttxt/module.dsc ${PREFIX}/share/ggz/tttxt.dsc
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../libggz/bsd.ggz.mk"
+.include <bsd.port.mk>
diff --git a/games/libggz/Makefile b/games/libggz/Makefile
index 292d51e83d44..e7304b09480a 100644
--- a/games/libggz/Makefile
+++ b/games/libggz/Makefile
@@ -30,6 +30,5 @@ USE_OPENSSL= yes
CONFIGURE_ARGS+= --with-tls=OpenSSL
.endif
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/games/libggz/bsd.ggz.mk"
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/../libggz/bsd.ggz.mk"
+.include <bsd.port.mk>