summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2014-06-18 20:51:39 +0000
committeracm <acm@FreeBSD.org>2014-06-18 20:51:39 +0000
commit9aaf7b2f709925413c7acf1efd275afff4d9cfb6 (patch)
tree603886fb45cc5bfe41b2c62c5d23be43a92f7612
parent166f92c393f990bdc3db4c0a5517e69bb670a4d1 (diff)
downloadFreeBSD-ports-9aaf7b2f709925413c7acf1efd275afff4d9cfb6.zip
FreeBSD-ports-9aaf7b2f709925413c7acf1efd275afff4d9cfb6.tar.gz
- Update to 1.2.4
- Remove obsolete patch files - Re-installation or update of lazarus should work fine from now - STAGEDIR support
-rw-r--r--editors/lazarus-lcl-gtk/Makefile3
-rw-r--r--editors/lazarus-lcl-gtk2/Makefile4
-rw-r--r--editors/lazarus-lcl-nogui/Makefile4
-rw-r--r--editors/lazarus-lcl-qt/Makefile3
-rw-r--r--editors/lazarus-lcl-units/Makefile4
-rw-r--r--editors/lazarus/Makefile52
-rw-r--r--editors/lazarus/Makefile.common24
-rw-r--r--editors/lazarus/distinfo4
-rw-r--r--editors/lazarus/files/patch-lcl-interfaces-carbon_carbonstrings.pp31
-rw-r--r--editors/lazarus/files/patch-lcl-interfaces-qt_qtprivate.pp11
-rw-r--r--editors/lazarus/files/pkg-message.in2
11 files changed, 45 insertions, 97 deletions
diff --git a/editors/lazarus-lcl-gtk/Makefile b/editors/lazarus-lcl-gtk/Makefile
index d3c9490..afc32fd 100644
--- a/editors/lazarus-lcl-gtk/Makefile
+++ b/editors/lazarus-lcl-gtk/Makefile
@@ -1,7 +1,7 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -lcl-gtk
COMMENT= Lazarus components library - GTK backend
@@ -14,5 +14,4 @@ LCL_INTERFACE= gtk
MASTERDIR= ${.CURDIR}/../../editors/lazarus
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/editors/lazarus-lcl-gtk2/Makefile b/editors/lazarus-lcl-gtk2/Makefile
index bbd5842..a5c953c 100644
--- a/editors/lazarus-lcl-gtk2/Makefile
+++ b/editors/lazarus-lcl-gtk2/Makefile
@@ -1,7 +1,7 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -lcl-gtk2
COMMENT= Lazarus components library - GTK2 backend
@@ -14,7 +14,5 @@ LCL_INTERFACE= gtk2
MASTERDIR= ${.CURDIR}/../../editors/lazarus
-NO_STAGE= yes
-
OPT= #
.include "${MASTERDIR}/Makefile"
diff --git a/editors/lazarus-lcl-nogui/Makefile b/editors/lazarus-lcl-nogui/Makefile
index ed154dc..484aab5 100644
--- a/editors/lazarus-lcl-nogui/Makefile
+++ b/editors/lazarus-lcl-nogui/Makefile
@@ -1,7 +1,7 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -lcl-nogui
COMMENT= Lazarus components library - No gui backend
@@ -12,7 +12,5 @@ LCL_INTERFACE= nogui
MASTERDIR= ${.CURDIR}/../../editors/lazarus
-NO_STAGE= yes
-
OPT= #
.include "${MASTERDIR}/Makefile"
diff --git a/editors/lazarus-lcl-qt/Makefile b/editors/lazarus-lcl-qt/Makefile
index f8fafa4..3ac3eb0 100644
--- a/editors/lazarus-lcl-qt/Makefile
+++ b/editors/lazarus-lcl-qt/Makefile
@@ -1,7 +1,7 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -lcl-qt
COMMENT= Lazarus components library - QT backend
@@ -14,5 +14,4 @@ LCL_INTERFACE= qt
MASTERDIR= ${.CURDIR}/../../editors/lazarus
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/editors/lazarus-lcl-units/Makefile b/editors/lazarus-lcl-units/Makefile
index 3b6edd9..75013b4 100644
--- a/editors/lazarus-lcl-units/Makefile
+++ b/editors/lazarus-lcl-units/Makefile
@@ -1,7 +1,7 @@
# Created by: Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
-PORTREVISION= 1
+PORTREVISION= 0
PKGNAMESUFFIX= -lcl-units
COMMENT= Lazarus components library units
@@ -12,7 +12,5 @@ LCL_INTERFACE= #
MASTERDIR= ${.CURDIR}/../../editors/lazarus
-NO_STAGE= yes
-
OPT = "-Fu../../lcl/ -Fu../lcl -Fu../../lcl/forms -Fu../../lcl/nonwin32 -Fu../../lcl/widgetset -Fi../../lcl/include"
.include "${MASTERDIR}/Makefile"
diff --git a/editors/lazarus/Makefile b/editors/lazarus/Makefile
index 43ce4f3b..a709e86 100644
--- a/editors/lazarus/Makefile
+++ b/editors/lazarus/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= lazarus
-PORTVERSION= 1.2
+PORTVERSION= 1.2.4
PORTREVISION?= 0
CATEGORIES= editors devel
MASTER_SITES= SF/${PORTNAME}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PORTVERSION} \
@@ -27,6 +27,7 @@ OPT?= "-Sgic "
MAKE_ENV= OPT=${OPT}
PLIST= ${WRKDIR}/pkg-plist
WRKSRC?= ${WRKDIR}/${PORTNAME}
+DATADIR?= ${PREFIX}/share/${PORTNAME}-${PORTVERSION}
.if !defined(PKGNAMESUFFIX)
OPTIONS_DEFINE= GDB
@@ -41,7 +42,6 @@ QT4_DESC= Use qt4 interface
OPTIONS_DEFAULT= GTK2 GDB
.endif
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${ARCH} == "i386"
@@ -51,7 +51,7 @@ LAZARUS_ARCH= x86_64
.endif
BUILDNAME= ${LAZARUS_ARCH}-freebsd
-LCL_UNITS_DIR= ${LOCALBASE}/share/lazarus/lcl/units/${BUILDNAME}
+LCL_UNITS_DIR= ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/lcl/units/${BUILDNAME}
.if !defined(PKGNAMESUFFIX)
BUILD_DEPENDS+= fpcres:${PORTSDIR}/lang/fpc-utils \
@@ -68,7 +68,7 @@ SUB_FILES= pkg-message
SUB_LIST+= PORTSDIR="${PORTSDIR}"
.if ${PORT_OPTIONS:MGDB}
-RUN_DEPENDS+= gdb762:${PORTSDIR}/devel/gdb
+RUN_DEPENDS+= gdb771:${PORTSDIR}/devel/gdb
.endif
.if ${PORT_OPTIONS:MGTK2}
@@ -108,10 +108,10 @@ post-patch:
-e 's|tools: lcl|tools:|g' -e '2840d' -e '2842d' -e '2843d' -e '2844d' ${WRKSRC}/${MAKEFILE}
pre-build:
- @${LN} -s ${LOCALBASE}/share/${PORTNAME}/lcl/units ${WRKSRC}/lcl/units
- @${LN} -s ${LOCALBASE}/share/${PORTNAME}/components/ideintf/units ${WRKSRC}/components/ideintf/units
- @${LN} -s ${LOCALBASE}/share/${PORTNAME}/components/synedit/units ${WRKSRC}/components/synedit/units
- @${LN} -s ${LOCALBASE}/share/${PORTNAME}/components/lazcontrols/lib ${WRKSRC}/components/lazcontrols/lib
+ @${LN} -s ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/lcl/units ${WRKSRC}/lcl/units
+ @${LN} -s ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/components/ideintf/units ${WRKSRC}/components/ideintf/units
+ @${LN} -s ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/components/synedit/units ${WRKSRC}/components/synedit/units
+ @${LN} -s ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/components/lazcontrols/lib ${WRKSRC}/components/lazcontrols/lib
do-build:
@cd ${WRKSRC} && \
@@ -161,42 +161,40 @@ pre-install:
do-install:
.for DIRE in components converter debugger designer doceditor ide images install languages lazarus.app lcl \
packager tools units
- @${MKDIR} ${DATADIR}/${DIRE}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE}
@cd ${WRKSRC}/${DIRE} && \
- ${FIND} * -type d -exec ${MKDIR} "${DATADIR}/${DIRE}/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/${DIRE}/{}" \;
+ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/${DIRE}/{}" \;
.endfor
- @${CHMOD} +x ${DATADIR}/tools/svn2revisioninc ${DATADIR}/tools/lazres ${DATADIR}/tools/lrstolfm \
- ${DATADIR}/tools/updatepofiles
+ @${CHMOD} +x ${STAGEDIR}${DATADIR}/tools/svn2revisioninc ${STAGEDIR}${DATADIR}/tools/lazres ${STAGEDIR}${DATADIR}/tools/lrstolfm \
+ ${STAGEDIR}${DATADIR}/tools/updatepofiles
.for FILE in lazarus startlazarus lazbuild
- ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR}
.endfor
.if !defined(NOPORTDOCS)
@cd ${WRKDIR}/docs && \
- ${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
- @${LN} -s ${DOCSDIR} ${DATADIR}/docs
+ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
+ @${LN} -s ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DATADIR}/docs
.endif
.if !defined(NOPORTEXAMPLES)
@cd ${WRKDIR}/examples && \
- ${FIND} * -type d -exec ${MKDIR} "${EXAMPLESDIR}/{}" \; && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${EXAMPLESDIR}/{}" \;
- @${LN} -s ${EXAMPLESDIR} ${DATADIR}/examples
+ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${EXAMPLESDIR}/{}" \;
+ @${LN} -s ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples
.endif
- ${INSTALL_SCRIPT} ${WRKSRC}/localize.sh ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKDIR}/lazarus-wrapper ${PREFIX}/bin/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/Makefile* ${WRKSRC}/fpmake* ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/localize.sh ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/lazarus-wrapper ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/Makefile* ${WRKSRC}/fpmake* ${STAGEDIR}${DATADIR}
.for FILE in ${MAN1}
- ${INSTALL_MAN} ${WRKDIR}/man1/${FILE} ${MAN1PREFIX}/man/man1
+ ${INSTALL_MAN} ${WRKDIR}/man1/${FILE} ${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor
- ${LN} -s ${DATADIR}/lazbuild ${PREFIX}/bin/lazbuild
+ ${LN} -s ${STAGEDIR}${DATADIR}/lazbuild ${STAGEDIR}${PREFIX}/bin/lazbuild
-post-install:
- @${CAT} ${PKGMESSAGE}
.else
.include "${MASTERDIR}/Makefile.common"
.endif
diff --git a/editors/lazarus/Makefile.common b/editors/lazarus/Makefile.common
index 11951d8..9e42fe7 100644
--- a/editors/lazarus/Makefile.common
+++ b/editors/lazarus/Makefile.common
@@ -25,10 +25,10 @@ pre-build:
@${MKDIR} ${WRKDIR}/${PORTNAME}/components/lazcontrols/lib/${BUILDNAME}
@${MKDIR} ${WRKDIR}/${PORTNAME}/components/ideintf/units/${BUILDNAME}
@${MKDIR} ${WRKDIR}/${PORTNAME}/components/synedit/units/${BUILDNAME}
- @${LN} -s ${LOCALBASE}/share/${PORTNAME}/lcl/units/${BUILDNAME}/* ${WRKDIR}/${LCLDIR}/units/${BUILDNAME}/
- @${LN} -s ${LOCALBASE}/share/${PORTNAME}/components/lazcontrols/lib/${BUILDNAME}/* ${WRKDIR}/${PORTNAME}/components/lazcontrols/lib/${BUILDNAME}/
- @${LN} -s ${LOCALBASE}/share/${PORTNAME}/components/ideintf/units/${BUILDNAME}/* ${WRKDIR}/${PORTNAME}/components/ideintf/units/${BUILDNAME}/
- @${LN} -s ${LOCALBASE}/share/${PORTNAME}/components/synedit/units/${BUILDNAME}/* ${WRKDIR}/${PORTNAME}/components/synedit/units/${BUILDNAME}/
+ @${LN} -s ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/lcl/units/${BUILDNAME}/* ${WRKDIR}/${LCLDIR}/units/${BUILDNAME}/
+ @${LN} -s ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/components/lazcontrols/lib/${BUILDNAME}/* ${WRKDIR}/${PORTNAME}/components/lazcontrols/lib/${BUILDNAME}/
+ @${LN} -s ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/components/ideintf/units/${BUILDNAME}/* ${WRKDIR}/${PORTNAME}/components/ideintf/units/${BUILDNAME}/
+ @${LN} -s ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/components/synedit/units/${BUILDNAME}/* ${WRKDIR}/${PORTNAME}/components/synedit/units/${BUILDNAME}/
.endif
do-build:
@@ -79,16 +79,16 @@ pre-install:
@${ECHO_CMD} "@dirrmtry %%DATADIR%%" >> ${PLIST}
do-install:
- @${MKDIR} ${DATADIR}/lcl/units/${BUILDNAME}/${LCL_INTERFACE}
- @${MKDIR} ${DATADIR}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE}
- @${MKDIR} ${DATADIR}/components/synedit/units/${BUILDNAME}/${LCL_INTERFACE}
- @${MKDIR} ${DATADIR}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/lcl/units/${BUILDNAME}/${LCL_INTERFACE}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/components/synedit/units/${BUILDNAME}/${LCL_INTERFACE}
+ @${MKDIR} ${STAGEDIR}${DATADIR}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE}
@cd ${WRKSRC}/units/${BUILDNAME}/${LCL_INTERFACE} && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/lcl/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/lcl/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
@cd ${WRKDIR}/${PORTNAME}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE} && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/components/ideintf/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
@cd ${WRKDIR}/${PORTNAME}/components/synedit/units/${BUILDNAME}/${LCL_INTERFACE} && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/components/synedit/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/components/synedit/units/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
@cd ${WRKDIR}/${PORTNAME}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE} && \
- ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
+ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/components/lazcontrols/lib/${BUILDNAME}/${LCL_INTERFACE}/{}" \;
diff --git a/editors/lazarus/distinfo b/editors/lazarus/distinfo
index 7790bdd..296cdb9 100644
--- a/editors/lazarus/distinfo
+++ b/editors/lazarus/distinfo
@@ -1,2 +1,2 @@
-SHA256 (freepascal/lazarus-1.2-0.tar.gz) = 22ddb1ad87fa11d64fe50ef120cfbeb545698ead0672853fa3c5fe40de1bb3a8
-SIZE (freepascal/lazarus-1.2-0.tar.gz) = 51400394
+SHA256 (freepascal/lazarus-1.2.4-0.tar.gz) = e8622f2b29988514c9b7b7ff6cf2058a8b73e9ef0fd7998c82e1e958d2347d28
+SIZE (freepascal/lazarus-1.2.4-0.tar.gz) = 51606253
diff --git a/editors/lazarus/files/patch-lcl-interfaces-carbon_carbonstrings.pp b/editors/lazarus/files/patch-lcl-interfaces-carbon_carbonstrings.pp
deleted file mode 100644
index 98a2eb2..0000000
--- a/editors/lazarus/files/patch-lcl-interfaces-carbon_carbonstrings.pp
+++ /dev/null
@@ -1,31 +0,0 @@
---- lcl/interfaces/carbon/carbonstrings.pp 2014-03-25 21:13:32.000000000 -0500
-+++ lcl/interfaces/carbon/carbonstrings.pp 2014-03-25 21:15:20.000000000 -0500
-@@ -18,6 +18,10 @@
- // defines
- {$I carbondefines.inc}
-
-+{$if (FPC_FULLVERSION>=20701) OR (FPC_FULLVERSION>=20603)}
-+{$define HAS_INHERITED_INSERTITEM}
-+{$endif}
-+
- uses
- // rtl+ftl
- Classes, SysUtils,
-@@ -34,7 +38,7 @@
- FOwner: TCarbonComboBox; // Carbon combo box control owning strings
- protected
- procedure Put(Index: Integer; const S: string); override;
-- {$IF FPC_FULLVERSION<20701}
-+ {$IFNDEF HAS_INHERITED_INSERTITEM}
- // before fpc 2.7.1 InsertItem(Index,S) did not call InsertItem(Index,S,nil)
- procedure InsertItem(Index: Integer; const S: string); override;
- {$ENDIF}
-@@ -113,7 +117,7 @@
- FOwner.Insert(Index, S);
- end;
-
--{$IF FPC_FULLVERSION<20701}
-+{$IFNDEF HAS_INHERITED_INSERTITEM}
- {------------------------------------------------------------------------------
- Method: TCarbonComboBoxStrings.InsertItem
- Params: Index - Line index
diff --git a/editors/lazarus/files/patch-lcl-interfaces-qt_qtprivate.pp b/editors/lazarus/files/patch-lcl-interfaces-qt_qtprivate.pp
deleted file mode 100644
index ced64075..0000000
--- a/editors/lazarus/files/patch-lcl-interfaces-qt_qtprivate.pp
+++ /dev/null
@@ -1,11 +0,0 @@
---- lcl/interfaces/qt/qtprivate.pp 2014-03-25 21:10:58.000000000 -0500
-+++ lcl/interfaces/qt/qtprivate.pp 2014-03-25 21:12:20.000000000 -0500
-@@ -23,7 +23,7 @@
-
- // todo: check if build macros can handle this and define it
- // in package LCL instead (it's needed for several widgetsets)
--{$if (FPC_FULLVERSION>=20701)}
-+{$if (FPC_FULLVERSION>=20701) OR (FPC_FULLVERSION=20603)}
- {$define HAS_INHERITED_INSERTITEM}
- {$endif}
-
diff --git a/editors/lazarus/files/pkg-message.in b/editors/lazarus/files/pkg-message.in
index d4dc2f4..859105e 100644
--- a/editors/lazarus/files/pkg-message.in
+++ b/editors/lazarus/files/pkg-message.in
@@ -16,7 +16,7 @@ The Lazarus RAD was installed
It could be extracted to your home directory.
-4) You can use %%LOCALBASE%%/bin/gdb762 debugger instead of gdb installed deugger
+4) You can use %%LOCALBASE%%/bin/gdb771 debugger instead of gdb installed deugger
installed from base system. Lazarus works better with this version.
5) The lazbuild.cfg file has been removed, it is not necessary anymore. Now
OpenPOWER on IntegriCloud