openbsd-ports/net/tintin++/Makefile
2022-10-23 13:05:47 +00:00

35 lines
882 B
Makefile

COMMENT = client program for playing muds with advanced features
DISTNAME = tintin-2.02.20
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>