Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2014 14:02:57 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r361368 - in head/games/klondike: . files
Message-ID:  <201407091402.s69E2v3P015499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jul  9 14:02:57 2014
New Revision: 361368
URL: http://svnweb.freebsd.org/changeset/ports/361368
QAT: https://qat.redports.org/buildarchive/r361368/

Log:
  Stagify.

Added:
  head/games/klondike/files/
  head/games/klondike/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/games/klondike/Makefile
  head/games/klondike/pkg-plist

Modified: head/games/klondike/Makefile
==============================================================================
--- head/games/klondike/Makefile	Wed Jul  9 13:55:12 2014	(r361367)
+++ head/games/klondike/Makefile	Wed Jul  9 14:02:57 2014	(r361368)
@@ -13,11 +13,6 @@ COMMENT=	Solitaire game for X11
 USES=		tk:run
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--bindir=${PREFIX}/bin --datadir=${PREFIX}/share/games
-MAN6=		klondike.6
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
-
 CONFIGURE_ENV=	WISHX=${WISH}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Added: head/games/klondike/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/klondike/files/patch-Makefile.in	Wed Jul  9 14:02:57 2014	(r361368)
@@ -0,0 +1,54 @@
+--- Makefile.in.orig	2014-07-09 21:58:54.032018344 +0800
++++ Makefile.in	2014-07-09 22:00:26.873012030 +0800
+@@ -70,23 +70,23 @@ install: install_dirs install_progs inst
+ 	@echo Installation of klondike is complete.
+ 
+ install_dirs:
+-	test -d $(BINDIR) || $(MKDIR_P) $(BINDIR)
+-	test -d $(LIBDIR) || $(MKDIR_P) $(LIBDIR)
+-	test -d $(LIBDIR)/CARDS || $(MKDIR_P) $(LIBDIR)/CARDS
+-	test -d $(LIBDIR)/SCORES || $(MKDIR_P) $(LIBDIR)/SCORES
++	test -d $(DESTDIR)$(BINDIR) || $(MKDIR_P) $(DESTDIR)$(BINDIR)
++	test -d $(DESTDIR)$(LIBDIR) || $(MKDIR_P) $(DESTDIR)$(LIBDIR)
++	test -d $(DESTDIR)$(LIBDIR)/CARDS || $(MKDIR_P) $(DESTDIR)$(LIBDIR)/CARDS
++	test -d $(DESTDIR)$(LIBDIR)/SCORES || $(MKDIR_P) $(DESTDIR)$(LIBDIR)/SCORES
+ 
+ install_progs:
+ 	@for i in $(TCL_FILES); \
+ 	do \
+-		$(MY_INSTALL_PROGRAM) $$i $(LIBDIR); \
++		$(MY_INSTALL_PROGRAM) $$i $(DESTDIR)$(LIBDIR); \
+ 	done
+-	mv $(LIBDIR)/klondike $(BINDIR)
++	mv $(DESTDIR)$(LIBDIR)/klondike $(DESTDIR)$(BINDIR)
+ 
+ install_bitmaps:
+-	$(INSTALL_DATA) $(BITMAP_FILES) $(LIBDIR)/CARDS
++	$(INSTALL_DATA) $(BITMAP_FILES) $(DESTDIR)$(LIBDIR)/CARDS
+ 
+ install_release:
+-	$(INSTALL_DATA) release $(LIBDIR)
++	$(INSTALL_DATA) release $(DESTDIR)$(LIBDIR)
+ 
+ #
+ # To mitigate the effects of a world-writable directory,
+@@ -95,15 +95,15 @@ install_release:
+ # you may need to chane its permission.
+ #
+ install_scores:
+-	test -d $(LIBDIR)/SCORES || $(MKDIR_P) $(LIBDIR)/scores
+-	test $(enable_scoring) = yes && chmod 0733 $(LIBDIR)/SCORES
++	test -d $(DESTDIR)$(LIBDIR)/SCORES || $(MKDIR_P) $(DESTDIR)$(LIBDIR)/scores
++	test $(enable_scoring) = yes && chmod 0733 $(DESTDIR)$(LIBDIR)/SCORES
+ 
+ # to be like normal X programs
+ install.man: install_man
+ 
+ install_man:
+-	test -d $(MANDIR) || $(MKDIR_P)  $(MANDIR)
+-	$(INSTALL_DATA) klondike.man $(MANDIR)/klondike.$(MANEXT)
++	test -d $(DESTDIR)$(MANDIR) || $(MKDIR_P)  $(DESTDIR)$(MANDIR)
++	$(INSTALL_DATA) klondike.man $(DESTDIR)$(MANDIR)/klondike.$(MANEXT)
+ 
+ 
+ #

Modified: head/games/klondike/pkg-plist
==============================================================================
--- head/games/klondike/pkg-plist	Wed Jul  9 13:55:12 2014	(r361367)
+++ head/games/klondike/pkg-plist	Wed Jul  9 14:02:57 2014	(r361368)
@@ -1,4 +1,5 @@
 bin/klondike
+man/man6/klondike.6.gz
 share/games/klondike/klondikeMenus.tcl
 share/games/klondike/klondikeRules.tcl
 share/games/klondike/klondikeScore.tcl



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407091402.s69E2v3P015499>