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

(-)x11-toolkits/qscintilla/Makefile (-16 / +130 lines)
Lines 5-39 Link Here
5
# $FreeBSD: ports/x11-toolkits/qscintilla/Makefile,v 1.10 2005/07/13 12:23:42 mich Exp $
5
# $FreeBSD: ports/x11-toolkits/qscintilla/Makefile,v 1.10 2005/07/13 12:23:42 mich Exp $
6
6
7
PORTNAME=	qscintilla
7
PORTNAME=	qscintilla
8
PORTVERSION=	1.5.1
8
PORTVERSION=	1.6
9
PORTREVISION=	1
9
PORTREVISION=	
10
CATEGORIES=	x11-toolkits
10
CATEGORIES=	x11-toolkits
11
MASTER_SITES=	http://www.river-bank.demon.co.uk/download/snapshots/QScintilla/ \
11
MASTER_SITES=	http://www.river-bank.demon.co.uk/download/QScintilla/ \
12
		http://freebsd.ricin.com/ports/distfiles/
12
		http://freebsd.ricin.com/ports/distfiles/
13
DISTNAME=	${PORTNAME}-1.64-gpl-snapshot-20050709
13
DISTNAME=	${PORTNAME}-${PORTVERSION}5-gpl-${PORTVERSION}
14
14
15
MAINTAINER=	danny@ricin.com
15
MAINTAINER=	danny@ricin.com
16
COMMENT=	QT port of scintilla
16
COMMENT=	QT port of the Scintilla C++ editor class
17
17
18
BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
18
BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
19
19
20
WRKSRC=		${WRKDIR}/${DISTNAME}/qt
21
22
USE_X_PREFIX=	yes
20
USE_X_PREFIX=	yes
23
USE_QT_VER=	3
21
USE_QT_VER=	3
24
CONFIGURE_ENV=	QTDIR="${X11BASE}"
25
MAKE_ENV=	QTDIR="${X11BASE}"
22
MAKE_ENV=	QTDIR="${X11BASE}"
26
INSTALLS_SHLIB=	yes
23
INSTALLS_SHLIB=	yes
27
24
25
OPTIONS=	DESIGNER_PLUGIN "Install plugin for Qt Designer" on \
26
		DOCS "Install documentation" on \
27
		EXAMPLES "Install examples" on \
28
		LANG_DE "Install German translation" on \
29
		LANG_FR "Install French translation" on \
30
		LANG_PTBR "Install Brazilian Portuguese translation" on \
31
		LANG_RU "Install Russian translation" on
32
33
QMAKE=		${LOCALBASE}/bin/qmake
34
SPEC=		${LOCALBASE}/share/qt/mkspecs/freebsd-g++
35
PLUGINDIR=	${X11BASE}/lib/plugins/designer
36
37
.include <bsd.port.pre.mk>
38
39
.if defined(NOPORTDOCS) || defined(WITHOUT_DOCS)
40
PLIST_SUB+=	DOCS="@comment "
41
.else
42
PLIST_SUB+=	DOCS=""
43
.endif
44
.if defined(WITHOUT_EXAMPLES)
45
PLIST_SUB+=	EXAMPLES="@comment "
46
.else
47
PLIST_SUB+=	EXAMPLES=""
48
.endif
49
.if defined(WITHOUT_DESIGNER_PLUGIN)
50
PLIST_SUB+=	DESIGNER_PLUGIN="@comment "
51
.else
52
PLIST_SUB+=	DESIGNER_PLUGIN=""
53
.endif
54
.if defined(WITHOUT_LANG_DE)
55
PLIST_SUB+=	LANG_DE="@comment "
56
.else
57
PLIST_SUB+=	LANG_DE=""
58
.endif
59
.if defined(WITHOUT_LANG_FR)
60
PLIST_SUB+=	LANG_FR="@comment "
61
.else
62
PLIST_SUB+=	LANG_FR=""
63
.endif
64
.if defined(WITHOUT_LANG_PTBR)
65
PLIST_SUB+=	LANG_PTBR="@comment "
66
.else
67
PLIST_SUB+=	LANG_PTBR=""
68
.endif
69
.if defined(WITHOUT_LANG_RU)
70
PLIST_SUB+=	LANG_RU="@comment "
71
.else
72
PLIST_SUB+=	LANG_RU=""
73
.endif
74
.if defined(WITHOUT_LANG_DE) && defined(WITHOUT_LANG_FR) && defined(WITHOUT_LANG_PTBR) && defined(WITHOUT_LANG_RU)
75
PLIST_SUB+=	TRANSLATIONS="@comment "
76
.else
77
PLIST_SUB+=	TRANSLATIONS=""
78
.endif
79
28
do-configure:
80
do-configure:
29
	cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake \
81
	( cd ${WRKSRC}/qt && \
30
		-spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ qscintilla.pro
82
		${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${SPEC} qscintilla.pro )
83
84
post-configure:
85
	( cd ${WRKSRC}/qt && \
86
		${CAT} qscintilla.pro | ${GREP} -v DESTDIR > qscintilla.tmp && \
87
		${CAT} Makefile | ${GREP} -v DEL_FILE | ${GREP} -v MOVE | \
88
			${GREP} -v DESTDIR > Makefile.tmp && \
89
		${MV} qscintilla.tmp qscintilla.pro && \
90
		${MV} Makefile.tmp Makefile && \
91
		cd ${WRKSRC}/designer && \
92
		${CAT} designer.pro | ${GREP} -v lqscintilla > designer.tmp && \
93
		${ECHO} "INCPATH += /usr/X11R6/include ../qt" >> \
94
			designer.tmp && \
95
		${ECHO} "LIBS += -L../qt -L/usr/X11R6/lib -lqscintilla" >> \
96
			designer.tmp && \
97
		${ECHO} "DESTDIR = ." >> designer.tmp && \
98
		${MV} designer.tmp designer.pro )
99
100
do-build:
101
	( cd ${WRKSRC}/qt && ${SETENV} ${MAKE_ENV} ${MAKE} )
102
103
post-build:
104
.if !defined(WITHOUT_DESIGNER_PLUGIN)
105
	( cd ${WRKSRC}/designer && ${SETENV} ${MAKE_ENV} \
106
		${QMAKE} -spec ${SPEC} designer.pro && ${MAKE} )
107
.endif
31
108
32
do-install:
109
do-install:
33
	${INSTALL_DATA} ${WRKSRC}/qextscintilla*.h ${PREFIX}/include
110
	( cd ${WRKSRC} && \
34
	${MKDIR} ${DATADIR}/translations
111
		${INSTALL_DATA} qt/qextscintilla*.h ${PREFIX}/include && \
35
	${INSTALL_DATA} ${WRKSRC}/qscintilla*.qm ${DATADIR}/translations
112
		${INSTALL_DATA} qt/libqscintilla.so.6.0.0 \
36
	${INSTALL_DATA} ${WRKSRC}/libqscintilla.so.6.0.0 ${PREFIX}/lib/libqscintilla.so.6
113
			${PREFIX}/lib/libqscintilla.so.6 && \
37
	${LN} -sf ${PREFIX}/lib/libqscintilla.so.6 ${PREFIX}/lib/libqscintilla.so
114
		${LN} -sf ${PREFIX}/lib/libqscintilla.so.6 \
115
			${PREFIX}/lib/libqscintilla.so )
116
.if !defined(WITHOUT_DESIGNER_PLUGIN)
117
	( cd ${WRKSRC} && \
118
		${INSTALL_DATA} designer/libqscintillaplugin.so ${PLUGINDIR} )
119
.endif
120
.if !defined(WITHOUT_LANG_DE) || !defined(WITHOUT_LANG_FR) || !defined(WITHOUT_LANG_PTBR) || !defined(WITHOUT_LANG_RU)
121
	${MKDIR} -m 0755 ${DATADIR}/translations
122
.endif
123
.if !defined(WITHOUT_LANG_DE)
124
	( cd ${WRKSRC} && \
125
		${INSTALL_DATA} qt/qscintilla_de.qm ${DATADIR}/translations )
126
.endif
127
.if !defined(WITHOUT_LANG_FR)
128
	( cd ${WRKSRC} && \
129
		${INSTALL_DATA} qt/qscintilla_fr.qm ${DATADIR}/translations )
130
.endif
131
.if !defined(WITHOUT_LANG_PTBR)
132
	( cd ${WRKSRC} && \
133
		${INSTALL_DATA} qt/qscintilla_ptbr.qm ${DATADIR}/translations )
134
.endif
135
.if !defined(WITHOUT_LANG_RU)
136
	( cd ${WRKSRC} && \
137
		${INSTALL_DATA} qt/qscintilla_ru.qm ${DATADIR}/translations )
138
.endif
139
.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)
140
	( cd ${WRKSRC} && \
141
		${MKDIR} -m 0755 ${DOCSDIR}/html ${DOCSDIR}/Scintilla && \
142
		${INSTALL_DATA} ChangeLog NEWS README ${DOCSDIR} && \
143
		${INSTALL_DATA} doc/qscintilla.dxy ${DOCSDIR} && \
144
		${INSTALL_DATA} doc/html/* ${DOCSDIR}/html &&  \
145
		${INSTALL_DATA} doc/Scintilla/* ${DOCSDIR}/Scintilla )
146
.endif
147
.if !defined(WITHOUT_EXAMPLES)
148
	( cd ${WRKSRC} && \
149
		${MKDIR} -m 0755 ${EXAMPLESDIR} && \
150
		${INSTALL_DATA} example/* ${EXAMPLESDIR} )
151
.endif
38
152
39
.include <bsd.port.mk>
153
.include <bsd.port.post.mk>
(-)x11-toolkits/qscintilla/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (qscintilla-1.64-gpl-snapshot-20050709.tar.gz) = ba58240acd0c03a95d7e904f53e1b7b1
1
MD5 (qscintilla-1.65-gpl-1.6.tar.gz) = 8dbebef07cd2c934fbec3ee1bdfecfa3
2
SIZE (qscintilla-1.64-gpl-snapshot-20050709.tar.gz) = 779415
2
SIZE (qscintilla-1.65-gpl-1.6.tar.gz) = 821730
(-)x11-toolkits/qscintilla/files/patch-qscintilla.pro (-10 lines)
Lines 1-10 Link Here
1
--- qscintilla.pro.orig	Sat Aug  2 18:52:07 2003
2
+++ qscintilla.pro	Sat Aug  2 18:52:11 2003
3
@@ -25,7 +25,6 @@
4
 
5
 TEMPLATE = lib
6
 TARGET = qscintilla
7
-DESTDIR = $(QTDIR)/lib
8
 CONFIG += qt warn_off release dll thread
9
 INCLUDEPATH = . ../include ../src
10
 DEFINES = QEXTSCINTILLA_MAKE_DLL QT SCI_LEXER
(-)x11-toolkits/qscintilla/pkg-plist (-6 / +114 lines)
Lines 9-30 Link Here
9
include/qextscintillalexerbash.h
9
include/qextscintillalexerbash.h
10
include/qextscintillalexercpp.h
10
include/qextscintillalexercpp.h
11
include/qextscintillalexercsharp.h
11
include/qextscintillalexercsharp.h
12
include/qextscintillalexercss.h
13
include/qextscintillalexerdiff.h
12
include/qextscintillalexerhtml.h
14
include/qextscintillalexerhtml.h
13
include/qextscintillalexeridl.h
15
include/qextscintillalexeridl.h
14
include/qextscintillalexerjava.h
16
include/qextscintillalexerjava.h
15
include/qextscintillalexerjavascript.h
17
include/qextscintillalexerjavascript.h
16
include/qextscintillalexerlua.h
18
include/qextscintillalexerlua.h
19
include/qextscintillalexermakefile.h
17
include/qextscintillalexerperl.h
20
include/qextscintillalexerperl.h
18
include/qextscintillalexerpov.h
21
include/qextscintillalexerpov.h
22
include/qextscintillalexerproperties.h
19
include/qextscintillalexerpython.h
23
include/qextscintillalexerpython.h
20
include/qextscintillalexerruby.h
24
include/qextscintillalexerruby.h
21
include/qextscintillalexersql.h
25
include/qextscintillalexersql.h
26
include/qextscintillalexertex.h
22
include/qextscintillamacro.h
27
include/qextscintillamacro.h
23
include/qextscintillaprinter.h
28
include/qextscintillaprinter.h
24
lib/libqscintilla.so.6
25
lib/libqscintilla.so
29
lib/libqscintilla.so
26
share/qscintilla/translations/qscintilla_de.qm
30
lib/libqscintilla.so.6
27
share/qscintilla/translations/qscintilla_fr.qm
31
%%DESIGNER_PLUGIN%%lib/plugins/designer/libqscintillaplugin.so
28
share/qscintilla/translations/qscintilla_ru.qm
32
%%DOCS%%%%DOCSDIR%%/ChangeLog
29
@dirrm share/qscintilla/translations
33
%%DOCS%%%%DOCSDIR%%/NEWS
30
@dirrm share/qscintilla
34
%%DOCS%%%%DOCSDIR%%/README
35
%%DOCS%%%%DOCSDIR%%/Scintilla/Design.html
36
%%DOCS%%%%DOCSDIR%%/Scintilla/Lexer.txt
37
%%DOCS%%%%DOCSDIR%%/Scintilla/License.txt
38
%%DOCS%%%%DOCSDIR%%/Scintilla/SciBreak.jpg
39
%%DOCS%%%%DOCSDIR%%/Scintilla/SciCoding.html
40
%%DOCS%%%%DOCSDIR%%/Scintilla/SciRest.jpg
41
%%DOCS%%%%DOCSDIR%%/Scintilla/SciTEIco.png
42
%%DOCS%%%%DOCSDIR%%/Scintilla/SciWord.jpg
43
%%DOCS%%%%DOCSDIR%%/Scintilla/ScintillaDoc.html
44
%%DOCS%%%%DOCSDIR%%/Scintilla/ScintillaDownload.html
45
%%DOCS%%%%DOCSDIR%%/Scintilla/ScintillaHistory.html
46
%%DOCS%%%%DOCSDIR%%/Scintilla/ScintillaRelated.html
47
%%DOCS%%%%DOCSDIR%%/Scintilla/ScintillaToDo.html
48
%%DOCS%%%%DOCSDIR%%/Scintilla/ScintillaUsage.html
49
%%DOCS%%%%DOCSDIR%%/Scintilla/Steps.html
50
%%DOCS%%%%DOCSDIR%%/Scintilla/index.html
51
%%DOCS%%%%DOCSDIR%%/html/annotated.html
52
%%DOCS%%%%DOCSDIR%%/html/classQextScintilla-members.html
53
%%DOCS%%%%DOCSDIR%%/html/classQextScintilla.html
54
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaAPIs-members.html
55
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaAPIs.html
56
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaBase-members.html
57
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaBase.html
58
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaCommand-members.html
59
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaCommand.html
60
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaCommandSet-members.html
61
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaCommandSet.html
62
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaDocument-members.html
63
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaDocument.html
64
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexer-members.html
65
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexer.html
66
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerBash-members.html
67
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerBash.html
68
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerBatch-members.html
69
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerBatch.html
70
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerCPP-members.html
71
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerCPP.html
72
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerCSS-members.html
73
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerCSS.html
74
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerCSharp-members.html
75
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerCSharp.html
76
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerDiff-members.html
77
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerDiff.html
78
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerHTML-members.html
79
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerHTML.html
80
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerIDL-members.html
81
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerIDL.html
82
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerJava-members.html
83
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerJava.html
84
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerJavaScript-members.html
85
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerJavaScript.html
86
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerLua-members.html
87
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerLua.html
88
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerMakefile-members.html
89
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerMakefile.html
90
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerPOV-members.html
91
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerPOV.html
92
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerPerl-members.html
93
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerPerl.html
94
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerProperties-members.html
95
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerProperties.html
96
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerPython-members.html
97
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerPython.html
98
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerRuby-members.html
99
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerRuby.html
100
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerSQL-members.html
101
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerSQL.html
102
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerTeX-members.html
103
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaLexerTeX.html
104
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaMacro-members.html
105
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaMacro.html
106
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaPrinter-members.html
107
%%DOCS%%%%DOCSDIR%%/html/classQextScintillaPrinter.html
108
%%DOCS%%%%DOCSDIR%%/html/dir_000000.html
109
%%DOCS%%%%DOCSDIR%%/html/dirs.html
110
%%DOCS%%%%DOCSDIR%%/html/doxygen.css
111
%%DOCS%%%%DOCSDIR%%/html/doxygen.png
112
%%DOCS%%%%DOCSDIR%%/html/functions.html
113
%%DOCS%%%%DOCSDIR%%/html/functions_enum.html
114
%%DOCS%%%%DOCSDIR%%/html/functions_eval.html
115
%%DOCS%%%%DOCSDIR%%/html/functions_func.html
116
%%DOCS%%%%DOCSDIR%%/html/hierarchy.html
117
%%DOCS%%%%DOCSDIR%%/html/index.html
118
%%DOCS%%%%DOCSDIR%%/qscintilla.dxy
119
%%EXAMPLES%%%%EXAMPLESDIR%%/License.txt
120
%%EXAMPLES%%%%EXAMPLESDIR%%/README
121
%%EXAMPLES%%%%EXAMPLESDIR%%/application.cpp
122
%%EXAMPLES%%%%EXAMPLESDIR%%/application.h
123
%%EXAMPLES%%%%EXAMPLESDIR%%/application.pro
124
%%EXAMPLES%%%%EXAMPLESDIR%%/fileopen.xpm
125
%%EXAMPLES%%%%EXAMPLESDIR%%/fileprint.xpm
126
%%EXAMPLES%%%%EXAMPLESDIR%%/filesave.xpm
127
%%EXAMPLES%%%%EXAMPLESDIR%%/main.cpp
128
%%LANG_DE%%%%DATADIR%%/translations/qscintilla_de.qm
129
%%LANG_FR%%%%DATADIR%%/translations/qscintilla_fr.qm
130
%%LANG_PTBR%%%%DATADIR%%/translations/qscintilla_ptbr.qm
131
%%LANG_RU%%%%DATADIR%%/translations/qscintilla_ru.qm
132
%%DOCS%%@dirrm %%DOCSDIR%%/Scintilla
133
%%DOCS%%@dirrm %%DOCSDIR%%/html
134
%%DOCS%%@dirrm %%DOCSDIR%%
135
%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
136
%%TRANSLATIONS%%@dirrm %%DATADIR%%/translations
137
%%TRANSLATIONS%%@dirrm %%DATADIR%%
138
%%DESIGNER_PLUGIN%%@unexec /sbin/ldconfig -R

Return to bug 85504