games/3omns: Update to 0.2

Commit ded6410 is 0.1-90-gded6410.  Already many commits over 0.1
and just 3 commits of documentation updates short of 0.2 so this
is not a significant update.

- Clean up port
- Use release tarball
- Actually declare a lib dependency on libargp.so
- Drop bogus libxml2, glib dependencies; they were also unused in 0.1_6
- Do not install the docs; the man page already contains the same
  information
This commit is contained in:
Tobias Kortkamp
2019-04-18 05:20:18 +00:00
parent b67ff70417
commit dc1ed9e327
3 changed files with 13 additions and 38 deletions

View File

@@ -2,46 +2,23 @@
# $FreeBSD$
PORTNAME= 3omns
PORTVERSION= 0.1
PORTREVISION= 6
DISTVERSION= 0.2
CATEGORIES= games
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MASTER_SITES= https://github.com/chazomaticus/3omns/releases/download/${DISTVERSION}/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= tobik@FreeBSD.org
COMMENT= Old-school bomb-dropping Deathmatch
LICENSE= GPLv3
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/argp.h:devel/argp-standalone \
asciidoc:textproc/asciidoc \
docbook-xml>0:textproc/docbook-xml \
xsltproc:textproc/libxslt \
docbook-xsl>=0:textproc/docbook-xsl
LIB_DEPENDS= libxml2.so:textproc/libxml2
BUILD_DEPENDS= a2x:textproc/asciidoc
LIB_DEPENDS= libargp.so:devel/argp-standalone
USE_GITHUB= yes
GH_ACCOUNT= chazomaticus
GH_TAGNAME= ded6410
USES= autoreconf compiler:c++11-lang gmake pkgconfig lua:52
USES= compiler:c++11-lang gmake localbase lua:52 pkgconfig sdl tar:xz
USE_SDL= image2 sdl2 ttf2
USE_GNOME= glib20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -largp
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
LIBS+= -largp
.include <bsd.port.mk>

View File

@@ -1,4 +1,3 @@
SHA256 (chazomaticus-3omns-0.1-ded6410_GH0.tar.gz) = a17fe72de0125f4ba182495698b07df6e77c5acff038afeccd30d675d946837d
SIZE (chazomaticus-3omns-0.1-ded6410_GH0.tar.gz) = 115622
SHA256 (3omns.png) = 9ef759e1f3b631d856a0cf1aab627c224f26528524ff024407094c2580cc68d1
SIZE (3omns.png) = 452
TIMESTAMP = 1555427074
SHA256 (3omns-0.2.tar.xz) = e95ed56b34d8155942f9fe3da6b33c323693ab06c9ac39d7e59b3c64b1314045
SIZE (3omns-0.2.tar.xz) = 168168

View File

@@ -20,4 +20,3 @@ man/man6/3omns.6.gz
%%DATADIR%%/ttf/Vera.ttf
share/applications/3omns.desktop
share/icons/hicolor/scalable/apps/3omns.svg
share/pixmaps/3omns.png