blob: f0302343a1bbffd9cc064b2d3e05964c36cbf40f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$
PORTNAME= simsu
PORTVERSION= 1.2.3
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
MAINTAINER= games@FreeBSD.org
COMMENT= Basic Sudoku game
LICENSE= GPLv3
USES= qmake tar:bzip2
USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \
gui
INSTALLS_ICONS= yes
PORTDOCS= CREDITS ChangeLog
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
post-patch:
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \
${WRKSRC}/${PORTNAME}.pro
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|