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

(-)ports-mgmt/kports-qt4/Makefile (-35 / +44 lines)
Lines 1-52 Link Here
1
# New ports collection makefile for:	kports
2
# Date created:				Thu Jan 12 12:47:58 UTC 2006
3
# Whom:				Hannes Hauswedell <hannes.hauswedell@gmail.com>
4
#
5
# $FreeBSD: ports/ports-mgmt/kports-qt4/Makefile,v 1.13 2009/08/18 13:05:32 makc Exp $
6
#
7
8
PORTNAME=	kports
9
PORTVERSION=	0.8.1
10
PORTREVISION=	1
11
CATEGORIES=	ports-mgmt kde
12
MASTER_SITES=	SF
13
14
MAINTAINER=	kports@soulrebel.in-berlin.de
15
COMMENT=	 Qt4-Version of your favorite frontend to the Ports
16
17
RUN_DEPENDS=	portaudit:${PORTSDIR}/ports-mgmt/portaudit
18
19
CONFLICTS=	kports-0.[0-7]*
20
21
USE_BZIP2=	yes
22
23
USE_QT_VER=	4
24
QT_COMPONENTS=	corelib gui network qmake_build moc_build uic_build rcc_build
25
QMAKE_ARGS+=	PREFIX=${PREFIX}
26
MAKE_JOBS_SAFE=	yes
27
1
28
HAS_CONFIGURE=	yes
2
3
PORTNAME=       kports
4
PORTVERSION=    0.8.2
5
PORTREVISION=   0
6
CATEGORIES=     ports-mgmt kde
7
MASTER_SITES=   SF
8
9
MAINTAINER=     kports@soulrebel.in-berlin.de
10
COMMENT=        Qt4-Version of your favorite frontend to the Ports
11
12
CONFLICTS=      kports-0.[0-7]*
13
14
USE_BZIP2=      yes
15
16
USE_QT_VER=     4
17
USE_GMAKE=	yes
18
QT_COMPONENTS=  corelib gui network qmake_build moc_build uic_build rcc_build
19
QMAKE_ARGS+=    PREFIX=${PREFIX}
20
MAKE_JOBS_SAFE= yes
21
HAS_CONFIGURE= 	yes
29
22
30
LATEST_LINK=	kports-qt4
23
LATEST_LINK=	kports-qt4
31
24
25
RUN_DEPENDS+=   portaudit:${PORTSDIR}/ports-mgmt/portaudit \
26
                uma:${PORTSDIR}/sysutils/bsdadminscripts
27
28
32
OPTIONS=	DEBUG "Add Debugging Symbols" off \
29
OPTIONS=	DEBUG "Add Debugging Symbols" off \
33
		KDE "Pull in kdebase-runtime" on
30
                OXYGEN "Pull in Oxygen icons (recommended)" on \
31
                KDEBASE "Pull in kdebase-runtime for kdesu" on
34
32
35
.include <bsd.port.pre.mk>
33
.include <bsd.port.pre.mk>
36
34
37
.if !defined(WITHOUT_KDE)
35
.if !defined(WITHOUT_OXYGEN)
38
RUN_DEPENDS+=	${LOCALBASE}/kde4/lib/kde4/libexec/kdesu:${PORTSDIR}/x11/kdebase4-runtime \
36
RUN_DEPENDS+= 	${LOCALBASE}/kde4/share/icons/oxygen/index.theme:${PORTSDIR}/x11-themes/kde4-icons-oxygen
39
		${LOCALBASE}/kde4/share/icons/oxygen/index.theme:${PORTSDIR}/x11-themes/kde4-icons-oxygen
37
.endif
40
.else
38
41
PKGMESSAGE=	pkg-message.nokdebase
39
.if !defined(WITHOUT_KDEBASE)
40
RUN_DEPENDS+= 	${LOCALBASE}/kde4/lib/kde4/libexec/kdesu:${PORTSDIR}/x11/kdebase4-runtime
42
.endif
41
.endif
43
42
43
44
post-patch:
44
post-patch:
45
	${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/data/kports.desktop
45
	${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/data/kports.desktop
46
46
47
.if defined(WITH_DEBUG)
47
.if defined(WITH_DEBUG)
48
pre-configure:
48
pre-configure:
49
	@(${ECHO_CMD} "CONFIG += debug" >> ${WRKSRC}/src/src.pro)
49
	@(${ECHO_CMD} "CONFIG += debug" >> ${WRKSRC}/src/src.pro)
50
	@(${ECHO_CMD} "CONFIG -= release warn_off" >> ${WRKSRC}/src/src.pro)
51
	@(${ECHO_CMD} "CONFIG += debug warn_on" >> ${WRKSRC}/src/src.pro)
52
	@(${ECHO_CMD} "DEFINES -= QT_NO_DEBUG_OUTPUT" >> ${WRKSRC}/src/src.pro)
50
.endif
53
.endif
51
54
52
do-configure:
55
do-configure:
Lines 54-61 Link Here
54
		${QMAKE} -unix ${QMAKE_ARGS} kports.pro
57
		${QMAKE} -unix ${QMAKE_ARGS} kports.pro
55
58
56
post-install:
59
post-install:
57
.if defined(WITHOUT_KDE)
60
.if defined(WITHOUT_OXYGEN)
58
	@${CAT} ${PKGMESSAGE}
61
	@${CAT} pkg-message.nooxygen
62
.endif
63
64
.if defined(WITHOUT_KDEBASE)
65
	@${CAT} pkg-message.nokdebase
59
.endif
66
.endif
60
67
68
69
61
.include <bsd.port.post.mk>
70
.include <bsd.port.post.mk>
(-)ports-mgmt/kports-qt4/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (kports-0.8.1.tar.bz2) = acd86d2ec8465ea8353e053ee885708e
1
MD5 (kports-0.8.2.tar.bz2) = fd0a8276a144a643bc15d354e3dd91cf
2
SHA256 (kports-0.8.1.tar.bz2) = 4156937590db7a904c50411e4ccb4aae6a1a201bd2aebc3096ea023e73ca1a2d
2
SHA256 (kports-0.8.2.tar.bz2) = ad871eea1cfd453c112ec6d399231a92719ec8fd9e7a7df02838cc127e81adba
3
SIZE (kports-0.8.1.tar.bz2) = 242536
3
SIZE (kports-0.8.2.tar.bz2) = 344648
(-)ports-mgmt/kports-qt4/pkg-descr (-4 / +4 lines)
Lines 3-10 Link Here
3
3
4
It is designed to make managing your applications easier and more pleasent.
4
It is designed to make managing your applications easier and more pleasent.
5
5
6
This is the Port based on the new Qt4-only codebase. You cannot(!) use this to
6
This is the Port based on the new Qt4-only codebase. You cannot use this to
7
actually install and remove packages. If you need to do that use the version
7
actually install and remove packages. If you need that use the version based
8
based on KDE3: ports-mgmt/kports.
8
on KDE3: ports-mgmt/kports.
9
9
10
WWW: http://kports.sf.net
10
WWW: http://kports.sf.net
(-)ports-mgmt/kports-qt4/pkg-message.nokdebase (-8 / +3 lines)
Lines 2-16 Link Here
2
* 			WARNING				*
2
* 			WARNING				*
3
* 							*
3
* 							*
4
* You decided not to pull in kdebase-runtime during	*
4
* You decided not to pull in kdebase-runtime during	*
5
* install. If you do not have it installed and don't	*
5
* install, if you don't have it installed you won't 	*
6
* want to now, you should note the following:		*
6
* have kdesu. However KPorts needs to be started as 	*
7
* root! Alternatives to kdesu include:			*
7
*							*
8
*							*
8
* 1) KPorts needs to be started as root to be useful,	*
9
*    but you won't have kdesu. Instead you can use	*
10
*    gksu, sudo or 'ssh -X root@localhost'.		*
9
*    gksu, sudo or 'ssh -X root@localhost'.		*
11
*							*
10
*							*
12
* 2) KPorts will expect the oxygen icon theme and not	*
13
*    find it. You should go the settings and select a	*
14
*    different theme. KPorts might look crap.		*
15
* 							*
16
*********************************************************
11
*********************************************************
(-)ports-mgmt/kports-qt4/pkg-plist (-2 / +8 lines)
Lines 1-13 Link Here
1
bin/kports
1
bin/kports
2
sbin/portsnap_patched
2
share/applications/kports.desktop
3
share/applications/kports.desktop
3
share/icons/hicolor/128x128/apps/kports.png
4
share/icons/hicolor/16x16/apps/kports.png
4
share/icons/hicolor/16x16/apps/kports.png
5
share/icons/hicolor/22x22/apps/kports.png
5
share/icons/hicolor/22x22/apps/kports.png
6
share/icons/hicolor/256x256/apps/kports.png
7
share/icons/hicolor/32x32/apps/kports.png
6
share/icons/hicolor/32x32/apps/kports.png
8
share/icons/hicolor/48x48/apps/kports.png
7
share/icons/hicolor/48x48/apps/kports.png
9
share/icons/hicolor/64x64/apps/kports.png
8
share/icons/hicolor/64x64/apps/kports.png
9
share/icons/hicolor/128x128/apps/kports.png
10
share/icons/hicolor/256x256/apps/kports.png
10
share/icons/hicolor/scalable/apps/kports.svgz
11
share/icons/hicolor/scalable/apps/kports.svgz
12
share/kports/translations/kports_pt_BR.qm
11
@dirrmtry share/icons/hicolor/scalable/apps
13
@dirrmtry share/icons/hicolor/scalable/apps
12
@dirrmtry share/icons/hicolor/scalable
14
@dirrmtry share/icons/hicolor/scalable
13
@dirrmtry share/icons/hicolor/64x64/apps
15
@dirrmtry share/icons/hicolor/64x64/apps
Lines 27-29 Link Here
27
@dirrmtry share/icons/hicolor
29
@dirrmtry share/icons/hicolor
28
@dirrmtry share/icons
30
@dirrmtry share/icons
29
@dirrmtry share/applications
31
@dirrmtry share/applications
32
@dirrmtry share/kports/translations
33
@dirrmtry share/kports
34
35

Return to bug 141435