blob: 1c776ec45bd37172a923a03eb249c8688df45a38 (
plain)
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
|
# New ports collection makefile for: colorcode
# Date created: 2010-10-16
# Whom: Max Brazhnikov <makc@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= colorcode
PORTVERSION= 0.7.2
CATEGORIES= games
MASTER_SITES= http://colorcode.laebisch.com/download/
DISTNAME= ColorCode-${PORTVERSION}
MAINTAINER= makc@FreeBSD.org
COMMENT= A free advanced MasterMind game and solver
USE_QT_VER= 4
QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE= yes
WRKSRC= ${WRKDIR}/ColorCode-${PORTVERSION}
DESKTOP_ENTRIES= "ColorCode" "Advanced MasterMind game and solver" \
"${PREFIX}/share/pixmaps/colorcode.png" "colorcode" \
"Application;LogicGame;Game;" false
PLIST_FILES= bin/colorcode \
share/pixmaps/colorcode.png
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
do-install:
${MKDIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/colorcode ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/img/cc64.png ${PREFIX}/share/pixmaps/colorcode.png
.include <bsd.port.mk>
|