svn commit: r312719 - head/games/nuclearchess
Rene Ladan
rene at FreeBSD.org
Thu Feb 21 14:16:24 UTC 2013
Author: rene
Date: Thu Feb 21 14:16:23 2013
New Revision: 312719
URL: http://svnweb.freebsd.org/changeset/ports/312719
Log:
- Use PLIST macros instead of pkg-plist
- Set LICENSE to GPLv2
- Convert Makefile header
- Convert to optionsNG
- Remove indefinite article from COMMENT
- Add build dependency on pamscale (graphics/netpbm)
- Add DESKTOP_ENTRIES
- Bump PORTREVISION
- Pass maintainership to submitter
PR: ports/172887
Submitted by: nemysis at gmx.ch
Deleted:
head/games/nuclearchess/pkg-plist
Modified:
head/games/nuclearchess/Makefile (contents, props changed)
Modified: head/games/nuclearchess/Makefile
==============================================================================
--- head/games/nuclearchess/Makefile Thu Feb 21 14:11:02 2013 (r312718)
+++ head/games/nuclearchess/Makefile Thu Feb 21 14:16:23 2013 (r312719)
@@ -1,25 +1,46 @@
-# New ports collection makefile for: nuclearchess
-# Date Created: 2006-05-26
-# Whom: Shaun Amott <shaun at inerd.com>
-#
+# Created by: Shaun Amott <shaun at inerd.com>
# $FreeBSD$
-#
PORTNAME= nuclearchess
PORTVERSION= 1.0.0
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= http://www.linux-games.com/nuclearchess/
-MAINTAINER= ports at FreeBSD.org
-COMMENT= A chess variant designed to be short and fun for all players
+MAINTAINER= nemysis at gmx.ch
+COMMENT= Chess variant designed to be short and fun for all players
-LICENSE= GPLv2 GPLv3
-LICENSE_COMB= dual
+LICENSE= GPLv2
+
+BUILD_DEPENDS= pamscale:${PORTSDIR}/graphics/netpbm
USE_SDL= sdl image
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${DATADIR}
MAKE_JOBS_SAFE= yes
+PLIST_FILES= bin/${PORTNAME} \
+ share/pixmaps/${PORTNAME}.png
+
+PORTDATA= *
+PORTDOCS= AUTHORS ChangeLog
+
+DESKTOP_ENTRIES="NuclearChess" "${COMMENT}" "${PORTNAME}" \
+ "${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
+
+.include <bsd.port.options.mk>
+
+post-build:
+ @(cd ${WRKSRC}/gfx && \
+ ${LOCALBASE}/bin/pngtopnm atom.png | \
+ ${LOCALBASE}/bin/pamscale .22 | ${LOCALBASE}/bin/pnmtopng > nuclearchess.png)
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/gfx/nuclearchess.png ${PREFIX}/share/pixmaps
+
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list