104a2beaa1
Changelog: * "configure" was broken in 5.2.0 for systems without AsciiDoc installed. It now properly checks for "a2x" conditionally along with the possible "--disable-man parameter". https://github.com/Doom-Utils/deutex/releases/tag/v5.2.1
39 lines
813 B
Makefile
39 lines
813 B
Makefile
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= deutex
|
|
PORTVERSION= 5.2.1
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= archivers games
|
|
|
|
MAINTAINER= kai@FreeBSD.org
|
|
COMMENT= WAD file manipulator for Doom, Heretic, Hexen, and Strife
|
|
|
|
LICENSE= GPLv2 LGPL20 MIT
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
|
|
LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LIB
|
|
|
|
BUILD_DEPENDS= a2x:textproc/asciidoc
|
|
|
|
USES= autoreconf pkgconfig
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Doom-Utils
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
PLIST_FILES= bin/deutex \
|
|
man/man6/${PORTNAME}.6.gz
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS PNG
|
|
OPTIONS_DEFAULT= PNG
|
|
|
|
PNG_LIB_DEPENDS= libpng.so:graphics/png
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/NEWS.adoc ${WRKSRC}/README.adoc ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|