Skip to content

Commit

Permalink
games/tads: Fix build with llvm15
Browse files Browse the repository at this point in the history
- Pet portclippy
- Adopt port
  • Loading branch information
5u623l20 committed Jun 8, 2023
1 parent d6fbc44 commit ec96570
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions games/tads/Makefile
Expand Up @@ -4,7 +4,7 @@ CATEGORIES= games lang
MASTER_SITES= LOCAL/kris
DISTNAME= tads23-unix

MAINTAINER= ports@FreeBSD.org
MAINTAINER= bofh@FreeBSD.org
COMMENT= TADS compiler/interpreter for interactive fiction
WWW= https://www.tads.org/

Expand All @@ -13,12 +13,20 @@ LICENSE_NAME= TADS FREEWARE SOURCE CODE LICENSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept

USES= ncurses

CONFLICTS= frobtads-1.*

USES= ncurses
WRKSRC= ${WRKDIR}/tads-3.0.8/tads2
DATADIR= ${PREFIX}/share/tads2

WRKSRC= ${WRKDIR}/tads-3.0.8/tads2

.include <bsd.port.pre.mk>

.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif

do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/tads2
.for i in tadsc tadsr tdb
Expand All @@ -28,4 +36,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${PREFIX}/share/tads2
.endfor

.include <bsd.port.mk>
.include <bsd.port.post.mk>

0 comments on commit ec96570

Please sign in to comment.