aboutsummaryrefslogtreecommitdiffstats
path: root/games/xboard
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2013-10-06 20:57:45 +0800
committerjohans <johans@FreeBSD.org>2013-10-06 20:57:45 +0800
commitfc240808bf4f8422f101147cd0ad920c04ed78fb (patch)
treec0eda15a02b95c1eb8421b232c0e1dc177432a93 /games/xboard
parent7bb930248c0c913c8d1ea430da088bb56c2f38e8 (diff)
downloadfreebsd-ports-gnome-fc240808bf4f8422f101147cd0ad920c04ed78fb.tar.gz
freebsd-ports-gnome-fc240808bf4f8422f101147cd0ad920c04ed78fb.tar.zst
freebsd-ports-gnome-fc240808bf4f8422f101147cd0ad920c04ed78fb.zip
- Update to 4.7.2
- Add stage support
Diffstat (limited to 'games/xboard')
-rw-r--r--games/xboard/Makefile16
-rw-r--r--games/xboard/distinfo4
-rw-r--r--games/xboard/pkg-plist6
3 files changed, 12 insertions, 14 deletions
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index 9df29bebcb63..c32daca38f98 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -2,15 +2,14 @@
# $FreeBSD$
PORTNAME= xboard
-PORTVERSION= 4.7.1
-PORTREVISION= 2
+PORTVERSION= 4.7.2
CATEGORIES= games
MASTER_SITES= GNU
MAINTAINER= johans@FreeBSD.org
COMMENT= X frontend for Crafty, GNUChess, Chess Servers, or e-mail chess
-LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
+LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
OPTIONS_DEFINE= NLS CRAFTY FAIRYMAX GNUCHESS KNIGHTCAP PHALANX
OPTIONS_DEFAULT=
@@ -27,7 +26,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=MKDIR_P="${MKDIR}"
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAN6= xboard.6
INFO= xboard
USE_PERL5= build
INSTALLS_ICONS= yes
@@ -35,7 +33,6 @@ DATADIR= ${PREFIX}/share/games/${PORTNAME}
PORTDOCS= AUTHORS ChangeLog NEWS README SHORTLOG TODO
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCRAFTY}
@@ -80,11 +77,12 @@ post-patch:
${WRKSRC}/Makefile.in
post-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/cmail ${PREFIX}/bin/
- @${CP} -pn ${PREFIX}/etc/xboard.conf.dist ${PREFIX}/etc/xboard.conf
+ @${INSTALL_SCRIPT} ${WRKSRC}/cmail ${STAGEDIR}${PREFIX}/bin/
+ @${CP} -pn ${STAGEDIR}${PREFIX}/etc/xboard.conf.dist \
+ ${STAGEDIR}${PREFIX}/etc/xboard.conf
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/games/xboard/distinfo b/games/xboard/distinfo
index ef5e42a7d3bb..5af962bca444 100644
--- a/games/xboard/distinfo
+++ b/games/xboard/distinfo
@@ -1,2 +1,2 @@
-SHA256 (xboard-4.7.1.tar.gz) = 3e1b1fc5f037285718f6b806259c206fb8a8f8ab9613360c014e71cdb5d8ca42
-SIZE (xboard-4.7.1.tar.gz) = 3414246
+SHA256 (xboard-4.7.2.tar.gz) = 9b6736994b051499dcbe564051f6d964114a38fe47bbaab6dc7bde71a52ba9ee
+SIZE (xboard-4.7.2.tar.gz) = 3415953
diff --git a/games/xboard/pkg-plist b/games/xboard/pkg-plist
index 2828028d1a70..873c9c2cab17 100644
--- a/games/xboard/pkg-plist
+++ b/games/xboard/pkg-plist
@@ -1,5 +1,6 @@
bin/xboard
bin/cmail
+man/man6/xboard.6.gz
share/applications/xboard.desktop
share/applications/xboard-config.desktop
share/applications/xboard-fen-viewer.desktop
@@ -7,9 +8,6 @@ share/applications/xboard-pgn-viewer.desktop
share/applications/xboard-tourney.desktop
share/icons/hicolor/48x48/apps/xboard.png
share/icons/hicolor/scalable/apps/xboard.svg
-share/mime/application/x-chess-pgn.xml
-share/mime/application/x-xboard-opt.xml
-share/mime/application/x-xboard-trn.xml
share/mime/packages/xboard.xml
%%DATADIR%%/pixmaps/textures/board32.xpm
%%DATADIR%%/pixmaps/textures/board48.xpm
@@ -164,6 +162,8 @@ share/mime/packages/xboard.xml
@dirrmtry share/icons/hicolor/scalable
@dirrmtry share/icons/hicolor
@dirrmtry share/icons
+@dirrmtry share/mime/packages
+@dirrmtry share/mime
@unexec if cmp -s %D/etc/xboard.conf.dist %D/etc/xboard.conf; then rm -f %D/etc/xboard.conf; fi
etc/xboard.conf.dist
@exec cp -pn %D/%F %B/xboard.conf