bcallah b6dbe22a84 Update to tintin-2.02.12
Now requires gmake
Other changes: https://tintin.mudhalla.net/news.php
From Tom Murphy, thanks!
2021-12-24 13:43:14 +00:00

37 lines
946 B
Makefile

# $OpenBSD: Makefile,v 1.26 2021/12/24 13:43:14 bcallah Exp $
COMMENT = client program for playing muds with advanced features
DISTNAME = tintin-2.02.12
CATEGORIES = net games
HOMEPAGE = https://tintin.sourceforge.io/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += c gnutls m pcre pthread util z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=tintin/}
LIB_DEPENDS = devel/pcre \
security/gnutls
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE = Yes
MAKE_FLAGS = INCS=-I${LOCALBASE}/include
WRKDIST = ${WRKDIR}/tt/src
NO_TEST = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tintin++
${INSTALL_DATA} ${WRKDIR}/tt/docs/chat_protocol.txt ${PREFIX}/share/doc/tintin++
${INSTALL_DATA} ${WRKDIR}/tt/docs/tintin19.txt ${PREFIX}/share/doc/tintin++
${INSTALL_PROGRAM} ${WRKSRC}/tt++ ${PREFIX}/bin
.include <bsd.port.mk>