diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-09 14:02:57 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-09 14:02:57 +0000 |
commit | 29a72c2f1e8a3da247f70a1e6f73d54e80393969 (patch) | |
tree | 6e9f4d09f8c259f15bf3f3df9b4b27271fb0879e | |
parent | remove NO_STAGE. (diff) |
Stagify.
Notes
Notes:
svn path=/head/; revision=361368
-rw-r--r-- | games/klondike/Makefile | 7 | ||||
-rw-r--r-- | games/klondike/files/patch-Makefile.in | 54 | ||||
-rw-r--r-- | games/klondike/pkg-plist | 1 |
3 files changed, 56 insertions, 6 deletions
diff --git a/games/klondike/Makefile b/games/klondike/Makefile index 31f61f7652ab..a086d4c50551 100644 --- a/games/klondike/Makefile +++ b/games/klondike/Makefile @@ -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> diff --git a/games/klondike/files/patch-Makefile.in b/games/klondike/files/patch-Makefile.in new file mode 100644 index 000000000000..632564d5c909 --- /dev/null +++ b/games/klondike/files/patch-Makefile.in @@ -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) + + + # diff --git a/games/klondike/pkg-plist b/games/klondike/pkg-plist index 5bcc8c72e6d3..834bc8ce99d1 100644 --- a/games/klondike/pkg-plist +++ b/games/klondike/pkg-plist @@ -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 |