freebsd-ports/games/tanglet/Makefile
2018-03-06 00:58:23 +00:00

38 lines
910 B
Makefile

# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= tanglet
PORTVERSION= 1.5.1
DISTVERSIONSUFFIX= -src
CATEGORIES= games
MASTER_SITES= http://gottcode.org/tanglet/
MAINTAINER= jhale@FreeBSD.org
COMMENT= Single player word finding game based on Boggle
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= compiler:c++11-lib desktop-file-utils pkgconfig qmake \
shared-mime-info tar:bzip2
USE_GL= gl
USE_QT5= buildtools_build linguisttools_build core gui widgets
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
post-patch:
@${REINPLACE_CMD} -e 's|share/man|man|' ${WRKSRC}/tanglet.pro
post-patch-NLS-off:
@${REINPLACE_CMD} -e '/INSTALLS/s|qm||' ${WRKSRC}/tanglet.pro
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>