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

(-)nmapsi4/Makefile (-3 / +9 lines)
Lines 6-28 Link Here
6
#
6
#
7
7
8
PORTNAME=	nmapsi4
8
PORTNAME=	nmapsi4
9
PORTVERSION=	0.2.1
9
PORTVERSION=	0.3
10
CATEGORIES=	security
10
CATEGORIES=	security
11
MASTER_SITES=	GOOGLE_CODE
11
MASTER_SITES=	GOOGLE_CODE
12
12
13
MAINTAINER=	g.veniamin@googlemail.com
13
MAINTAINER=	g.veniamin@googlemail.com
14
COMMENT=	GUI frontend for the nmap scanning utility
14
COMMENT=	GUI frontend for the nmap scanning utility
15
15
16
RUN_DEPENDS=	${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap
17
18
LICENSE=	GPLv2
16
LICENSE=	GPLv2
19
17
18
RUN_DEPENDS=	${LOCALBASE}/bin/nmap:${PORTSDIR}/security/nmap
19
20
USE_CMAKE=	yes
20
USE_CMAKE=	yes
21
USE_BZIP2=	yes
21
INSTALLS_ICONS=	yes
22
INSTALLS_ICONS=	yes
22
USE_QT_VER=	4
23
USE_QT_VER=	4
23
QT_COMPONENTS=	gui xml qmake_build uic_build moc_build rcc_build network \
24
QT_COMPONENTS=	gui xml qmake_build uic_build moc_build rcc_build network \
24
		linguist webkit
25
		linguist webkit
25
26
27
pre-configure:
28
	${REINPLACE_CMD} -e 's#share/applications/kde4/#share/applications/#g' \
29
		${WRKSRC}/${PORTNAME}/CMakeLists.txt \
30
		${WRKSRC}/${PORTNAME}-logr/CMakeLists.txt
31
26
post-install:
32
post-install:
27
	${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}
33
	${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}
28
	${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}-logr
34
	${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}-logr
(-)nmapsi4/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (nmapsi4-0.2.1.tar.gz) = 4e7589b920473c0efa3aee3e818bd491ff271664fd1695c549b38dbcb5251c2e
1
SHA256 (nmapsi4-0.3.tar.bz2) = 51aa7e5e16577c318478b10ab3d533a15ea9e4d8cb7b7fb19a52e9b47f8b201d
2
SIZE (nmapsi4-0.2.1.tar.gz) = 300265
2
SIZE (nmapsi4-0.3.tar.bz2) = 3398283
(-)nmapsi4/files/patch-nmapsi4-logr_CMakeLists.txt (-11 lines)
Lines 1-11 Link Here
1
--- nmapsi4-logr/CMakeLists.txt.orig	2009-12-29 14:35:41.000000000 +0700
2
+++ nmapsi4-logr/CMakeLists.txt	2009-12-29 14:36:02.000000000 +0700
3
@@ -67,7 +67,7 @@ endif (WIN32)
4
 if (Q_WS_X11)
5
   install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/nmapsi4/locale)
6
   install(FILES "${CMAKE_CURRENT_BINARY_DIR}/nmapsi4-logr" DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
7
-  install(FILES "src/nmapsi4-logr.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
8
+  install(FILES "src/nmapsi4-logr.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/)
9
 #  install(FILES "src/kde/nmapsi4-admin.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
10
 #  install(FILES "icons/16x16/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/16x16/apps/)
11
 #  install(FILES "icons/32x32/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/32x32/apps/)
(-)nmapsi4/files/patch-nmapsi4_CMakeLists.txt (-13 lines)
Lines 1-13 Link Here
1
--- nmapsi4/CMakeLists.txt.orig	2009-12-29 14:34:58.000000000 +0700
2
+++ nmapsi4/CMakeLists.txt	2009-12-29 14:35:22.000000000 +0700
3
@@ -106,8 +106,8 @@ endif (NOT WIN32)
4
 if (Q_WS_X11)
5
   install(FILES ${qms} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/nmapsi4/locale)
6
   install(FILES "${CMAKE_CURRENT_BINARY_DIR}/nmapsi4" DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
7
-  install(FILES "kde/nmapsi4.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
8
-  install(FILES "kde/nmapsi4-admin.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/kde/)
9
+  install(FILES "kde/nmapsi4.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/)
10
+  install(FILES "kde/nmapsi4-admin.desktop" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications/)
11
   install(FILES "../icons/16x16/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/16x16/apps/)
12
   install(FILES "../icons/32x32/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/32x32/apps/)
13
   install(FILES "../icons/64x64/nmapsi4.png" DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/64x64/apps/)
(-)nmapsi4/pkg-plist (-2 / +2 lines)
Lines 3-10 Link Here
3
share/applications/nmapsi4-admin.desktop
3
share/applications/nmapsi4-admin.desktop
4
share/applications/nmapsi4-logr.desktop
4
share/applications/nmapsi4-logr.desktop
5
share/applications/nmapsi4.desktop
5
share/applications/nmapsi4.desktop
6
share/dbus-1/interfaces/org.nmapsi4.Nmapsi4.xml
6
share/icons/hicolor/128x128/apps/nmapsi4.png
7
share/icons/hicolor/128x128/apps/nmapsi4.png
7
share/icons/hicolor/16x16/apps/nmapsi4.png
8
share/icons/hicolor/32x32/apps/nmapsi4.png
8
share/icons/hicolor/32x32/apps/nmapsi4.png
9
share/icons/hicolor/64x64/apps/nmapsi4.png
9
share/icons/hicolor/64x64/apps/nmapsi4.png
10
%%DATADIR%%/locale/nmapsi4-logr_cs.qm
10
%%DATADIR%%/locale/nmapsi4-logr_cs.qm
Lines 20-25 Link Here
20
%%DATADIR%%/locale/nmapsi4_it.qm
20
%%DATADIR%%/locale/nmapsi4_it.qm
21
%%DATADIR%%/locale/nmapsi4_pl.qm
21
%%DATADIR%%/locale/nmapsi4_pl.qm
22
%%DATADIR%%/locale/nmapsi4_pt_BR.qm
22
%%DATADIR%%/locale/nmapsi4_pt_BR.qm
23
%%DATADIR%%/locale/nmapsi4_ru.qm
23
@dirrm %%DATADIR%%/locale
24
@dirrm %%DATADIR%%/locale
24
@dirrm %%DATADIR%%
25
@dirrm %%DATADIR%%
25
@dirrmtry share/icons/hicolor/128x128/apps
26
@dirrmtry share/icons/hicolor/128x128/apps
Lines 29-35 Link Here
29
@dirrmtry share/icons/hicolor/32x32/apps
30
@dirrmtry share/icons/hicolor/32x32/apps
30
@dirrmtry share/icons/hicolor/32x32
31
@dirrmtry share/icons/hicolor/32x32
31
@dirrmtry share/icons/hicolor/16x16/apps
32
@dirrmtry share/icons/hicolor/16x16/apps
32
@dirrmtry share/icons/hicolor/16x16
33
@dirrmtry share/icons/hicolor
33
@dirrmtry share/icons/hicolor
34
@dirrmtry share/icons
34
@dirrmtry share/icons
35
@dirrmtry share/applications
35
@dirrmtry share/applications

Return to bug 163869