Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2019 13:02:32 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r508451 - in head/archivers/deutex: . files
Message-ID:  <201908091302.x79D2Wbn077866@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Fri Aug  9 13:02:31 2019
New Revision: 508451
URL: https://svnweb.freebsd.org/changeset/ports/508451

Log:
  archivers/deutex: Update to 5.2.0 and unbreak
  
  After many years of being dormant upstream has continued the development,
  moved to GitHub and modernized the whole code base.
  
  * Remove the patch for deutex.h that is no longer required. [1]
  * Also take maintainership for a while.
  
  Notable changes since the 4.4.0 release:
  
  * Removed DeuSF binary and WinTex related features/options.
  
  * PNG support added. If compiled in, it is the default extraction format,
    PPM otherwise.
  
  * DeuTex can now build WADs with an arbitrary number of lumps, but prints a
    warning when more than 4046 are included (the Vanilla Doom limit).
  
  * UDMF (Universal Doom Map Format) support.
  
  * Real Autoconf and Automake build system to replace the barely-functioning
    imitation one.
  
  * C99-style cleanups to use (u)intN_t types, bool, true, false throughout
    the code, replacing old defines. [1]
  
  https://github.com/Doom-Utils/deutex/releases/tag/v5.2.0
  https://github.com/Doom-Utils/deutex/releases/tag/v5.1.0
  https://github.com/Doom-Utils/deutex/releases/tag/v5.0.0

Deleted:
  head/archivers/deutex/files/
Modified:
  head/archivers/deutex/Makefile
  head/archivers/deutex/distinfo

Modified: head/archivers/deutex/Makefile
==============================================================================
--- head/archivers/deutex/Makefile	Fri Aug  9 12:54:26 2019	(r508450)
+++ head/archivers/deutex/Makefile	Fri Aug  9 13:02:31 2019	(r508451)
@@ -2,13 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	deutex
-PORTVERSION=	4.4.0
-PORTREVISION=	1
+PORTVERSION=	5.2.0
+DISTVERSIONPREFIX=	v
 CATEGORIES=	archivers games
-MASTER_SITES=	http://www.teaser.fr/~amajorel/deutex/ \
-		http://freebsd.nsu.ru/distfiles/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	kai@FreeBSD.org
 COMMENT=	WAD file manipulator for Doom, Heretic, Hexen, and Strife
 
 LICENSE=	GPLv2 LGPL20 MIT
@@ -16,31 +14,25 @@ LICENSE_COMB=	multi
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 LICENSE_FILE_LGPL20=	${WRKSRC}/COPYING.LIB
 
-BROKEN=		unfetchable
+BUILD_DEPENDS=	a2x:textproc/asciidoc
 
-MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS}"
+USES=		autoreconf pkgconfig
+USE_GITHUB=	yes
+GH_ACCOUNT=	Doom-Utils
 
-PLIST_FILES=	bin/deusf bin/deutex \
+GNU_CONFIGURE=	yes
+
+PLIST_FILES=	bin/deutex \
 		man/man6/${PORTNAME}.6.gz
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=		DOCS PNG
+OPTIONS_DEFAULT=	PNG
 
-post-extract:
-	@${REINPLACE_CMD} -e 's,-mkdir,mkdir -p,' ${WRKSRC}/Makefile
-	@${REINPLACE_CMD} -e 's,malloc\.h,stdlib.h,' ${WRKSRC}/src/tools.c
-	@${REINPLACE_CMD} -e '/blockv/s,VOCHEAD,VOCBLOCK1,' \
-		${WRKSRC}/src/sound.c
+PNG_LIB_DEPENDS=	libpng.so:graphics/png
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/deusf ${WRKSRC}/deutex \
-		${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.6 \
-		${STAGEDIR}${MAN6PREFIX}/man/man6
-
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/CHANGES ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/dtexman6.txt ${STAGEDIR}${DOCSDIR}/MANUAL
+	${INSTALL_MAN} ${WRKSRC}/NEWS.adoc ${WRKSRC}/README.adoc ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/archivers/deutex/distinfo
==============================================================================
--- head/archivers/deutex/distinfo	Fri Aug  9 12:54:26 2019	(r508450)
+++ head/archivers/deutex/distinfo	Fri Aug  9 13:02:31 2019	(r508451)
@@ -1,2 +1,3 @@
-SHA256 (deutex-4.4.0.tar.gz) = e87ff2984c6555f30408ee7aa4e6461aac6f1d3d0a1e21b4e12a797a057ba3b7
-SIZE (deutex-4.4.0.tar.gz) = 215945
+TIMESTAMP = 1565106114
+SHA256 (Doom-Utils-deutex-v5.2.0_GH0.tar.gz) = a53928d2af4dec88da4a644384766cfc94512cc8531ff9fcbaaf7012dd6de56d
+SIZE (Doom-Utils-deutex-v5.2.0_GH0.tar.gz) = 124341



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