Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2014 23:25:54 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374730 - in head/games/bs: . files
Message-ID:  <201412142325.sBENPsXK072418@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Sun Dec 14 23:25:53 2014
New Revision: 374730
URL: https://svnweb.freebsd.org/changeset/ports/374730
QAT: https://qat.redports.org/buildarchive/r374730/

Log:
  - Update to 2.10, announce message:
    Added desktop file.
  
  - Change PLIST_FILES, changed by me and Upstream
  - Simplify installation handling, changed by me and Upstream
  - Add REINPLACE, fix GNU/Linux paths
  - Strip executable
  - Remove Desktop entry file, use supplied desktop files

Deleted:
  head/games/bs/files/
Modified:
  head/games/bs/Makefile
  head/games/bs/distinfo

Modified: head/games/bs/Makefile
==============================================================================
--- head/games/bs/Makefile	Sun Dec 14 22:35:07 2014	(r374729)
+++ head/games/bs/Makefile	Sun Dec 14 23:25:53 2014	(r374730)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bs
-PORTVERSION=	2.9
-PORTREVISION=	1
+PORTVERSION=	2.10
 CATEGORIES=	games
 MASTER_SITES=	http://www.catb.org/~esr/bs/
 
@@ -18,18 +17,21 @@ ALL_TARGET=	# empty
 
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man6/${PORTNAME}.6.gz \
+		share/appdata/${PORTNAME}.xml \
 		${DESKTOPDIR}/${PORTNAME}.desktop \
-		share/pixmaps/battleship.png
+		share/icons/hicolor/32x32/apps/battleship.png
 
 PORTDOCS=	NEWS README
 OPTIONS_DEFINE=	DOCS
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_DATA} ${WRKSRC}/battleship.png ${STAGEDIR}${PREFIX}/share/pixmaps/
-	${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 ${STAGEDIR}${MAN6PREFIX}/man/man6/
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin/|; \
+		s|/usr/share/|${PREFIX}/share/|; \
+		s|/usr/local/share/man|${PREFIX}/man/|' \
+		${WRKSRC}/Makefile
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 

Modified: head/games/bs/distinfo
==============================================================================
--- head/games/bs/distinfo	Sun Dec 14 22:35:07 2014	(r374729)
+++ head/games/bs/distinfo	Sun Dec 14 23:25:53 2014	(r374730)
@@ -1,2 +1,2 @@
-SHA256 (bs-2.9.tar.gz) = 32408dfafd7ac09307a2398156c13c5f305075d81d8a82d8aa3f22111ca5db01
-SIZE (bs-2.9.tar.gz) = 14922
+SHA256 (bs-2.10.tar.gz) = 1f8c1541fd13f481ff96df26d668658a7465da064801ae22ee584bd50f3a3107
+SIZE (bs-2.10.tar.gz) = 15426



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