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

(-)qextmdi.new/Makefile (-8 / +30 lines)
Lines 1-42 Link Here
1
# New ports collection makefile for:	qextmdi
1
# New ports collection makefile for:	qextmdi
2
# Date created:				29 April 2002
2
# Date created:				29 April 2002
3
# Whom:					jesse@cs.uni-magdeburg.de
3
# Whom:					Roland Jesse <roland.jesse@gmx.net>
4
#
4
#
5
# $FreeBSD: ports/devel/qextmdi/Makefile,v 1.1 2003/01/13 12:16:58 arved Exp $
5
# $FreeBSD: ports/devel/qextmdi/Makefile,v 1.1 2003/01/13 12:16:58 arved Exp $
6
6
7
PORTNAME=	qextmdi
7
PORTNAME=	qextmdi
8
PORTVERSION=	2.0.2
8
PORTVERSION=	2.0.2
9
PORTREVISION=	1
9
CATEGORIES=	devel
10
CATEGORIES=	devel
10
MASTER_SITES=	http://www.geocities.com/gigafalk/qextmdi/
11
MASTER_SITES=	http://www.geocities.com/gigafalk/qextmdi/
11
EXTRACT_SUFX=	.tgz
12
EXTRACT_SUFX=	.tgz
12
DIST_SUBDIR=	KDE
13
DIST_SUBDIR=	KDE
13
14
14
MAINTAINER=	jesse@cs.uni-magdeburg.de
15
MAINTAINER=	roland.jesse@gmx.net
15
16
16
WRKSRC=		${WRKDIR}/${PORTNAME}
17
WRKSRC=		${WRKDIR}/${PORTNAME}
17
BUILD_WRKSRC=	${WRKSRC}/qextmdi
18
BUILD_WRKSRC=	${WRKSRC}/qextmdi
18
USE_QT_VER=	3
19
USE_QT_VER=	3
19
USE_X_PREFIX=	yes
20
USE_X_PREFIX=	yes
21
CONFIG_ARGS=	-release
22
MAKE_ENV+=	QTDIR=${QT_PREFIX} QMAKESPEC=freebsd-g++
20
.if defined(WITH_KDE)
23
.if defined(WITH_KDE)
21
USE_KDEBASE_VER=	3
24
USE_KDEBASE_VER=	3
22
# The name of this option is misleading. It uses either KDE2 or KDE3.
25
# The name of this option is misleading. It uses either KDE2 or KDE3.
23
CONFIGURE_ARGS+=	-kde2
26
CONFIG_ARGS+=	-kde2
27
MAKE_ENV+=	KDE2DIR=${PREFIX}
28
PLIST_SUB+=	LIBNAME=kextmdi
29
.else
30
PLIST_SUB+=	LIBNAME=qextmdi
31
.endif
32
.if defined(MAKE_JOBS)
33
MAKE_ARGS+=	-j${MAKE_JOBS}
24
.endif
34
.endif
25
MAKE_ENV+=	QTDIR=${QT_PREFIX} QMAKESPEC=freebsd-g++
26
INSTALLS_SHLIB=	yes
35
INSTALLS_SHLIB=	yes
27
USE_REINPLACE=	yes
36
USE_REINPLACE=	yes
28
37
29
pre-configure:
38
pre-configure:
30
	@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|tmake|qmake|g' configure
39
	@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|tmake|qmake|g' configure
31
	@cd ${WRKSRC}/qextmdi && ${PERL} -e 's|warn_on|warn_on thread|g' *.pro
40
	@cd ${WRKSRC}/qextmdi && ${REINPLACE_CMD} -e 's|warn_on|warn_on thread|g' *.pro
41
.if !defined(WITH_KDE)
42
	@${ECHO_CMD}
43
	@${ECHO_CMD} "Note: The QextMDI library can be build with KDE support."
44
	@${ECHO_CMD} "      Please specify WITH_KDE in case you want to do so."
45
	@${ECHO_CMD}
46
.endif
32
47
33
# define this here to prevent any "--with-qt-includes" or similar:
48
# define this here to prevent any "--with-qt-includes" passed to ./configure:
34
do-configure:
49
do-configure:
35
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIG_ARGS}
50
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIG_ARGS}
36
51
52
.if defined(WITH_KDE)
53
# Bad hack (TM):
54
# Because of a file conflict with x11/kdelibs3, back up KDE's include/kdockwidget.h.
55
# Open: Needs to be restored whenever QextMDI is removed from the system.
56
pre-install:
57
	@cd ${PREFIX}/include && ${CP} kdockwidget.h kdockwidget.h.kde3
58
.endif
59
37
do-install:
60
do-install:
38
	${INSTALL_DATA} ${WRKSRC}/lib/libqextmdi.so.2.0.2 ${PREFIX}/lib/libqextmdi.so.2
61
	@cd ${WRKSRC}/lib && ${TAR} cf - lib*[so,2] | (cd ${PREFIX}/lib && ${TAR} xf -)
39
	${LN} ${PREFIX}/lib/libqextmdi.so.2 ${PREFIX}/lib/libqextmdi.so
40
	${INSTALL_DATA} ${WRKSRC}/include/*.h  ${PREFIX}/include
62
	${INSTALL_DATA} ${WRKSRC}/include/*.h  ${PREFIX}/include
41
.if !defined(NOPORTDOCS)
63
.if !defined(NOPORTDOCS)
42
	@${MKDIR} ${PREFIX}/share/doc/qextmdi
64
	@${MKDIR} ${PREFIX}/share/doc/qextmdi
(-)qextmdi.new/pkg-descr (-1 lines)
Lines 5-8 Link Here
5
WWW: http://www.geocities.com/gigafalk/qextmdi.htm
5
WWW: http://www.geocities.com/gigafalk/qextmdi.htm
6
6
7
 Roland
7
 Roland
8
jesse@cs.uni-magdeburg.de
(-)qextmdi.new/pkg-plist (-2 / +3 lines)
Lines 15-22 Link Here
15
include/qextmdimainfrm.h
15
include/qextmdimainfrm.h
16
include/qextmdinulliterator.h
16
include/qextmdinulliterator.h
17
include/qextmditaskbar.h
17
include/qextmditaskbar.h
18
lib/libqextmdi.so
18
lib/lib%%LIBNAME%%.so
19
lib/libqextmdi.so.2
19
lib/lib%%LIBNAME%%.so.2
20
lib/lib%%LIBNAME%%.so.2.0.2
20
%%PORTDOCS%%share/doc/qextmdi/handbook/logotp3.png
21
%%PORTDOCS%%share/doc/qextmdi/handbook/logotp3.png
21
%%PORTDOCS%%share/doc/qextmdi/handbook/index.html
22
%%PORTDOCS%%share/doc/qextmdi/handbook/index.html
22
%%PORTDOCS%%share/doc/qextmdi/handbook/index.sgml
23
%%PORTDOCS%%share/doc/qextmdi/handbook/index.sgml

Return to bug 47049