3f0b9896e7
- Add LICENSE_FILE - Remove unneeded INSTALLS_ICONS - Use option targets PR: 207160 Submitted by: Ports Fury
37 lines
795 B
Makefile
37 lines
795 B
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= simsu
|
|
PORTVERSION= 1.3.2
|
|
DISTVERSIONSUFFIX= -src
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://gottcode.org/${PORTNAME}/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Basic Sudoku game
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USES= compiler:c++11-lib qmake tar:bzip2
|
|
USE_QT5= buildtools_build widgets
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|share/man|man|' ${WRKSRC}/simsu.pro
|
|
|
|
post-patch-NLS-off:
|
|
@${REINPLACE_CMD} -e \
|
|
'/INSTALLS/s|qm||' ${WRKSRC}/simsu.pro
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
.include <bsd.port.mk>
|