blob: 9affdfd87c11743c28dee397ce2a2c42f8efee7e (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# New Ports collection makefile for: simsu
# Date created: 2012-04-21
# Whom: nemysis@gmx.ch
#
# $FreeBSD$
#
PORTNAME= simsu
PORTVERSION= 1.2.2
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
MAINTAINER= nemysis@gmx.ch
COMMENT= Simsu is a basic Sudoku game
LICENSE= GPLv3
USE_QT4= moc_build qmake_build rcc_build uic_build iconengines imageformats
INSTALLS_ICONS= yes
HAS_CONFIGURE= yes
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} PREFIX=${PREFIX} ${WRKSRC}/${PORTNAME}.pro
CONFIGURE_ENV+= UIC="${UIC}" QMAKE="${QMAKE}" QMAKESPEC="${QMAKESPEC}"
MAKE_ENV+= QMAKESPEC="${QMAKESPEC}"
USE_GMAKE= yes
MAKE_JOBS_SAFE= yes
PORTDATA= *
PORTDOCS= CREDITS ChangeLog
.include <bsd.port.options.mk>
do-install:
# Executable
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
# Data
${MKDIR} ${DATADIR}
@(cd ${WRKSRC} && ${COPYTREE_SHARE} "symmetry translations" ${DATADIR})
# Icons
${MKDIR} ${PREFIX}/share/icons/hicolor
.for d in icons
@(cd ${WRKSRC}/${d} && ${COPYTREE_SHARE} hicolor ${PREFIX}/share/icons/)
.endfor
# Pixmaps and Desktop
${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}_32.xpm ${PREFIX}/share/pixmaps/
${MKDIR} ${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/icons/${PORTNAME}.desktop ${PREFIX}/share/applications/
# Documentation
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.mk>
|