Advertisement
Guest User

Untitled

a guest
Feb 21st, 2012
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 3.40 KB | None | 0 0
  1. diff -up -urNd -x CVS rusty.wesnoth/Makefile jan.wesnoth/Makefile
  2. --- rusty.wesnoth/Makefile  2012-02-21 19:52:26.047013045 +0400
  3. +++ jan.wesnoth/Makefile    2012-02-21 20:01:46.587010371 +0400
  4. @@ -1,30 +1,30 @@
  5.  # New ports collection makefile for:   wesnoth
  6. -# Date created:            7 September 2008
  7. -# Whom:                Philip Paeps <philip@FreeBSD.org>
  8. +# Date created:            22 December 2003
  9. +# Whom:                Mezz <mezz7@cox.net>
  10.  #
  11. -# $FreeBSD: ports/games/wesnoth/Makefile,v 1.100 2012/02/18 10:18:21 mva Exp $
  12. +# $FreeBSD: ports/games/wesnoth/Makefile,v 1.94 2012/02/18 10:18:21 mva Exp $
  13.  #
  14.  
  15.  PORTNAME=  wesnoth
  16.  PORTVERSION=   1.10
  17.  CATEGORIES=    games
  18. -MASTER_SITES=  SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
  19. +MASTER_SITES=  SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-${PORTVERSION} \
  20.         http://files.wesnoth.org/
  21.  
  22.  MAINTAINER=    philip@FreeBSD.org
  23.  COMMENT=   A fantasy turn-based strategy game
  24.  
  25. -EXTRACT_DEPENDS=   ${NONEXISTENT}:${PORTSDIR}/x11-fonts/junicode:extract
  26. +EXTRACT_DEPENDS=${WRKSRC}/fonts/Junicode-Regular.ttf:${PORTSDIR}/x11-fonts/junicode:extract
  27.  LIB_DEPENDS=   boost_thread.4:${PORTSDIR}/devel/boost-libs
  28.  
  29.  LICENSE=   GPLv2 GPLv3
  30.  LICENSE_COMB=  dual
  31.  LICENSE_FILE=  ${WRKSRC}/COPYING
  32.  
  33. -CONFLICTS= wesnoth-[0-9]*
  34. +CONFLICTS= wesnoth-devel-[0-9]*
  35.  
  36.  USE_SDL=   image mixer net ttf
  37. -USE_GNOME= pango desktopfileutils
  38. +USE_GNOME= pango
  39.  MAKE_JOBS_SAFE=    yes
  40.  USE_BZIP2= yes
  41.  USE_CMAKE= yes
  42. @@ -34,7 +34,7 @@ MAN6=     wesnoth.6
  43.  PORTDOCS=  *
  44.  PORTDATA=  *
  45.  
  46. -OPTIONS=   ANA  "Enable Asynchronous Network API (WIP)" On \
  47. +OPTIONS=   ANA  "Enable Asynchronous Network API (WIP)" Off \
  48.         CAMPAIGN "Enable campaign server"   On \
  49.         FRIBIDI  "Enable bidirectional support" On \
  50.         LOWMEM   "Reduce memory usage (disables animations)" Off \
  51. @@ -94,17 +94,10 @@ PLIST_SUB+= NLS="@comment "
  52.  .else
  53.  CMAKE_ARGS+=   -DENABLE_NLS=on -DLOCALEDIR=${PREFIX}/share/locale
  54.  USE_GETTEXT=   yes
  55. -MANLANG=   "" cs de en_GB et fr gl hu id lt pl sk \
  56. -       zh_CN zh_TW
  57. -_MANPAGES+=    ${PREFIX}/man/es/man6/wesnothd.6 \
  58. -       ${PREFIX}/man/fi/man6/wesnothd.6 \
  59. -       ${PREFIX}/man/it/man6/wesnothd.6 \
  60. -       ${PREFIX}/man/ja/man6/wesnothd.6 \
  61. +MANLANG=   "" cs de en_GB es et fi fr gl hu id it lt pl ru sk \
  62. +       sr sr@ijekavian sr@ijekavianlatin sr@latin zh_CN zh_TW
  63. +_MANPAGES+=    ${PREFIX}/man/ja/man6/wesnothd.6 \
  64.         ${PREFIX}/man/pt_BR/man6/wesnothd.6 \
  65. -       ${PREFIX}/man/sr/man6/wesnothd.6 \
  66. -       ${PREFIX}/man/sr@ijekavian/man6/wesnothd.6 \
  67. -       ${PREFIX}/man/sr@ijekavianlatin/man6/wesnothd.6 \
  68. -       ${PREFIX}/man/sr@latin/man6/wesnothd.6 \
  69.         ${PREFIX}/man/tr/man6/wesnothd.6
  70.  PLIST_SUB+=    NLS=""
  71.  .endif
  72. @@ -169,10 +162,12 @@ CMAKE_ARGS+=  -DDOCDIR=none
  73.  IGNORE=        game data is required, undefine NOPORTDATA
  74.  .endif
  75.  
  76. -post-install:
  77. +post-extract:  .SILENT
  78.     ${INSTALL_DATA} $$(${MAKE} -V WRKSRC \
  79.         -C ${PORTSDIR}/x11-fonts/junicode)/fonts/Junicode-Regular.ttf \
  80. -       ${DATADIR}/fonts
  81. +       ${WRKSRC}/fonts
  82. +
  83. +post-install:
  84.     -update-desktop-database ${PREFIX}/share/applications
  85.  
  86.  .include <bsd.port.mk>
  87. diff -up -urNd -x CVS rusty.wesnoth/pkg-plist jan.wesnoth/pkg-plist
  88. --- rusty.wesnoth/pkg-plist 2012-02-21 19:52:26.087013732 +0400
  89. +++ jan.wesnoth/pkg-plist   2012-02-21 19:07:44.197009493 +0400
  90. @@ -1,6 +1,8 @@
  91.  %%CAMPAIGN%%bin/campaignd
  92.  %%TOOLS%%bin/cutter
  93.  %%TOOLS%%bin/exploder
  94. +%%TOOLS%%bin/schema_generator
  95. +%%TOOLS%%bin/schema_validator
  96.  bin/wesnoth
  97.  %%PYTHON%%%%TOOLS%%bin/wesnoth_addon_manager
  98.  %%TESTS%%bin/wesnoth_test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement