View | Details | Raw Unified | Return to bug 113980
Collapse All | Expand All

(-)ksudoku/Makefile (-6 / +13 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	ksudoku
8
PORTNAME=	ksudoku
9
PORTVERSION=	0.3
9
PORTVERSION=	0.4
10
PORTREVISION=	2
11
CATEGORIES=	games kde
10
CATEGORIES=	games kde
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
13
MASTER_SITE_SUBDIR=	${PORTNAME}
12
MASTER_SITE_SUBDIR=	${PORTNAME}
Lines 15-26 Link Here
15
MAINTAINER=	freebsd@chillt.de
14
MAINTAINER=	freebsd@chillt.de
16
COMMENT=	A Sudoku generator and solver for KDE
15
COMMENT=	A Sudoku generator and solver for KDE
17
16
18
EXTRA_PATCHES=	${.CURDIR}/../../x11/kde3/files/extrapatch-old_configure
17
BUILD_DEPENDS=	cmake:${PORTSDIR}/devel/cmake
18
19
CMAKE_ARGS=	-DCMAKE_C_COMPILER:STRING="${CC}" \
20
		-DCMAKE_CXX_COMPILER:STRING="${CXX}" \
21
		-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
22
		-DCMAKE_EXE_LINKER_FLAGS:STRING="${PTHREAD_LIBS}" \
23
		-DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
19
24
20
USE_KDELIBS_VER=3
25
USE_KDELIBS_VER=3
21
USE_AUTOTOOLS=	libtool:15
26
USE_GMAKE=	yes
27
USE_GL=		yes
22
28
23
post-patch:
29
do-configure:
24
	@${REINPLACE_CMD} -e 's|-O2||' ${WRKSRC}/configure
30
	@cd ${WRKSRC} && \
31
		${LOCALBASE}/bin/cmake ${CMAKE_ARGS}
25
32
26
.include <bsd.port.mk>
33
.include <bsd.port.mk>
(-)ksudoku/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (ksudoku-0.3.tar.gz) = d5fe20e9deda671dd15340f43ab4c4a3
1
MD5 (ksudoku-0.4.tar.gz) = 418f9ecac5756f7bc79863596dee7f34
2
SHA256 (ksudoku-0.3.tar.gz) = 18f95cb383a7d313f907eff6a1f23e0cf66627d901cbbb8488c521851c3f2cca
2
SHA256 (ksudoku-0.4.tar.gz) = 6dc1b247fba46ccd08a79f7f9b711143f4cce837484bf5230221a2225ab9922b
3
SIZE (ksudoku-0.3.tar.gz) = 704694
3
SIZE (ksudoku-0.4.tar.gz) = 316486
(-)ksudoku/files/patch-src_CMakeLists.txt (+18 lines)
Line 0 Link Here
1
--- src/CMakeLists.txt.orig	Sun Jun 24 02:43:59 2007
2
+++ src/CMakeLists.txt	Sun Jun 24 02:51:21 2007
3
@@ -50,12 +50,9 @@
4
 
5
 ########### install files ###############
6
 
7
-FIND_PROGRAM(KDE3_KDECONFIG_EXECUTABLE NAMES kde-config )
8
-
9
-EXEC_PROGRAM(${KDE3_KDECONFIG_EXECUTABLE} ARGS --expandvars --install 
10
-xdgdata-apps OUTPUT_VARIABLE KDE3_XDG_APPS_DIR )
11
-EXEC_PROGRAM(${KDE3_KDECONFIG_EXECUTABLE} ARGS --expandvars --install data OUTPUT_VARIABLE KDE3_DATA_INSTALL_DIR )
12
-EXEC_PROGRAM(${KDE3_KDECONFIG_EXECUTABLE} ARGS --expandvars --install config OUTPUT_VARIABLE KDE3_CONFIG_INSTALL_DIR )
13
+set(KDE3_XDG_APPS_DIR ${CMAKE_INSTALL_PREFIX}/share/applications/kde)
14
+set(KDE3_DATA_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/apps)
15
+set(KDE3_CONFIG_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/config)
16
 
17
 install( FILES gui/ksudoku.desktop  DESTINATION  ${KDE3_XDG_APPS_DIR})
18
 install( FILES gui/ksudokuui.rc  DESTINATION  ${KDE3_DATA_INSTALL_DIR}/ksudoku )
(-)ksudoku/pkg-descr (-2 / +3 lines)
Lines 2-9 Link Here
2
2
3
Among its features are:
3
Among its features are:
4
4
5
* Supported board sizes (2D): 9x9, 16x16, 25x25
5
* 2D boards of various sizes: 9x9, 16x16, 25x25
6
* Supported board sizes (3D): 3x3x3, 4x4x4, 5x5x5
6
* 3D boards of various sizes: 3x3x3, 4x4x4, 5x5x5
7
* Cutom 2D boards, including: 4x4, Jigsaw, Samurai, XSudoku
7
* GUI for playing, saving, printing, solving and dubbing puzzles
8
* GUI for playing, saving, printing, solving and dubbing puzzles
8
* Automatic solver that can provide hints should you get stuck
9
* Automatic solver that can provide hints should you get stuck
9
10
(-)ksudoku/pkg-plist (-6 / +6 lines)
Lines 1-12 Link Here
1
bin/ksudoku
1
bin/ksudoku
2
bin/ksudoku_client
2
share/applications/kde/ksudoku.desktop
3
share/applnk/Games/ksudoku.desktop
3
share/apps/ksudoku/4x4.xml
4
share/apps/ksudoku/Jigsaw.xml
5
share/apps/ksudoku/Samurai.xml
6
share/apps/ksudoku/XSudoku.xml
4
share/apps/ksudoku/ksudokuui.rc
7
share/apps/ksudoku/ksudokuui.rc
5
share/doc/HTML/en/ksudoku/common
8
share/config/ksudokurc
6
share/doc/HTML/en/ksudoku/index.cache.bz2
7
share/doc/HTML/en/ksudoku/index.docbook
8
share/icons/hicolor/128x128/apps/ksudoku.png
9
share/icons/hicolor/128x128/apps/ksudoku.png
9
share/icons/hicolor/16x16/apps/ksudoku.png
10
share/icons/hicolor/16x16/apps/ksudoku.png
10
share/icons/hicolor/32x32/apps/ksudoku.png
11
share/icons/hicolor/32x32/apps/ksudoku.png
11
@dirrm share/doc/HTML/en/ksudoku
12
@dirrm share/apps/ksudoku
12
@dirrm share/apps/ksudoku

Return to bug 113980