editors/lazarus-*-devel: Update to 3.0.0.20231028

- Update pkg-message.in file
- Add -p to ${INSTALL_DATA} to preserves the access and modification times. It
  avoids issues with checksum changes and it improves compile time when lazarus
  ide is rebuild by users.
- Update CONFLICTS
This commit is contained in:
Jose Alonso Cardenas Marquez 2023-10-29 12:46:47 -05:00
parent 8c962df69f
commit c626e9b7f5
No known key found for this signature in database
GPG key ID: 335B9246BA5E30F4
4 changed files with 27 additions and 22 deletions

View file

@ -1,7 +1,7 @@
PORTNAME= lazarus PORTNAME= lazarus
PORTVERSION= 2.3.0 DISTVERSION= 3.0.0.20231028
PKGNAMESUFFIX?= -gtk2-devel PKGNAMESUFFIX?= -gtk2-devel
PORTREVISION?= 2 PORTREVISION?= 0
CATEGORIES= editors devel CATEGORIES= editors devel
DIST_SUBDIR= freepascal DIST_SUBDIR= freepascal
@ -9,7 +9,7 @@ MAINTAINER?= acm@FreeBSD.org
COMMENT?= Portable Delphi-like IDE for the FreePascal compiler (GTK2 devel) COMMENT?= Portable Delphi-like IDE for the FreePascal compiler (GTK2 devel)
WWW= https://www.lazarus-ide.org/ WWW= https://www.lazarus-ide.org/
CONFLICTS?= ${PORTNAME}-qt5-* ${PORTNAME}-gtk2-2* CONFLICTS?= lazarus-gtk2 lazarus-qt5 lazarus-qt5-devel lazarus-qt6-devel
BUILD_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils \ BUILD_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils \
fpcres:lang/fpc-utils fpcres:lang/fpc-utils
@ -23,7 +23,7 @@ ONLY_FOR_ARCHS= i386 amd64
USE_GITLAB= yes USE_GITLAB= yes
GL_ACCOUNT= freepascal.org/lazarus GL_ACCOUNT= freepascal.org/lazarus
GL_PROJECT= ${PORTNAME} GL_PROJECT= ${PORTNAME}
GL_TAGNAME= 8d4b429879fc99ee4652c966015e19e2cb1131d8 GL_COMMIT= da69f50a82ed2c57fdecc26023f75431bffe3d42
USES= desktop-file-utils fpc:run gettext gmake iconv shared-mime-info xorg USES= desktop-file-utils fpc:run gettext gmake iconv shared-mime-info xorg
USE_FPC?= chm cairo dblib fcl-base fcl-db fcl-fpcunit fcl-image fcl-json fcl-net \ USE_FPC?= chm cairo dblib fcl-base fcl-db fcl-fpcunit fcl-image fcl-json fcl-net \
@ -36,7 +36,7 @@ OPT?= "-Sgic "
MAKE_ENV= OPT=${OPT} MAKE_ENV= OPT=${OPT}
PLIST= ${WRKDIR}/pkg-plist PLIST= ${WRKDIR}/pkg-plist
#WRKSRC?= ${WRKDIR}/${PORTNAME} #WRKSRC?= ${WRKDIR}/${PORTNAME}
DATADIR?= ${PREFIX}/share/${PORTNAME}-${PORTVERSION} DATADIR?= ${PREFIX}/share/${PORTNAME}-${LAZARUS_BASE}
OPTIONS_DEFINE= GDB OPTIONS_DEFINE= GDB
GDB_DESC= Install a newest version of gdb GDB_DESC= Install a newest version of gdb
@ -45,6 +45,7 @@ OPTIONS_DEFAULT= GDB
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
LAZARUS_ARCH= ${ARCH:S,amd64,x86_64,} LAZARUS_ARCH= ${ARCH:S,amd64,x86_64,}
LAZARUS_BASE= 3.0.0
BUILDNAME= ${LAZARUS_ARCH}-${OPSYS:tl} BUILDNAME= ${LAZARUS_ARCH}-${OPSYS:tl}
LCL_PLATFORM?= gtk2 LCL_PLATFORM?= gtk2
@ -79,13 +80,14 @@ post-patch:
do-build: do-build:
@cd ${WRKSRC} && \ @cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} bigide LCL_PLATFORM=${LCL_PLATFORM} ${SETENV} ${MAKE_ENV} ${MAKE_CMD} bigide LCL_PLATFORM=${LCL_PLATFORM}
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} tools LCL_PLATFORM=${LCL_PLATFORM}
post-build: post-build:
@cd ${WRKSRC} && \ @cd ${WRKSRC} && \
${RM} -R COPYING* README* debian localize.bat test *.orig *.bak startlazarus.app \ ${RM} -R COPYING* README* debian localize.bat test *.orig *.bak startlazarus.app \
ide/Makefile*.orig ide/Makefile*.bak lcl/interfaces/qt5/qtobjects.pas.orig ide/Makefile*.orig ide/Makefile*.bak lcl/interfaces/qt5/qtobjects.pas.orig \
.git*
@cd ${WRKSRC} && \
${FIND} . -name ".gitignore" -exec ${RM} "{}" \;
pre-install: pre-install:
@${ECHO} "#!/bin/sh" > ${WRKDIR}/lazarus-wrapper @${ECHO} "#!/bin/sh" > ${WRKDIR}/lazarus-wrapper
@ -135,24 +137,24 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE} @${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE}
@cd ${WRKSRC}/${DIRE} && \ @cd ${WRKSRC}/${DIRE} && \
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; ${FIND} * -type f -exec ${INSTALL_DATA} -p {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \;
.endfor .endfor
@${CHMOD} +x ${STAGEDIR}${DATADIR}/tools/svn2revisioninc ${STAGEDIR}${DATADIR}/tools/lazres ${STAGEDIR}${DATADIR}/tools/lrstolfm \ @${CHMOD} +x ${STAGEDIR}${DATADIR}/tools/svn2revisioninc ${STAGEDIR}${DATADIR}/tools/lazres ${STAGEDIR}${DATADIR}/tools/lrstolfm \
${STAGEDIR}${DATADIR}/tools/updatepofiles ${STAGEDIR}${DATADIR}/tools/updatepofiles
.for FILE in lazarus startlazarus lazbuild .for FILE in lazarus lazbuild startlazarus
${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR} ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR}
.endfor .endfor
@cd ${WRKDIR}/docs && \ @cd ${WRKDIR}/docs && \
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \; ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \;
@${LN} -s ${DOCSDIR} ${STAGEDIR}${DATADIR}/docs @${LN} -sf ${DOCSDIR} ${STAGEDIR}${DATADIR}/docs
@cd ${WRKDIR}/examples && \ @cd ${WRKDIR}/examples && \
${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \; ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \;
@${LN} -s ${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples @${LN} -sf ${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples
.for RESO in 128 16 256 32 48 64 .for RESO in 128 16 256 32 48 64
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps
@ -177,6 +179,6 @@ do-install:
.for FILE in ${MAN1S} .for FILE in ${MAN1S}
${INSTALL_MAN} ${WRKDIR}/man1/${FILE} ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKDIR}/man1/${FILE} ${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor .endfor
${LN} -s ${DATADIR}/lazbuild ${STAGEDIR}${PREFIX}/bin/lazbuild ${LN} -sf ${DATADIR}/lazbuild ${STAGEDIR}${PREFIX}/bin/lazbuild
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1679285267 TIMESTAMP = 1698534530
SHA256 (freepascal/freepascal.org/lazarus-lazarus-8d4b429879fc99ee4652c966015e19e2cb1131d8_GL0.tar.gz) = 4be74d6421296ed76309ef09a6471ae2064c05130373012bfcc1beb6a83d78ff SHA256 (freepascal/freepascal.org/lazarus-lazarus-da69f50a82ed2c57fdecc26023f75431bffe3d42_GL0.tar.gz) = 2976846d842e5812bd225c33a34fc21562e044d22064c6dc7edf45db87784985
SIZE (freepascal/freepascal.org/lazarus-lazarus-8d4b429879fc99ee4652c966015e19e2cb1131d8_GL0.tar.gz) = 57272154 SIZE (freepascal/freepascal.org/lazarus-lazarus-da69f50a82ed2c57fdecc26023f75431bffe3d42_GL0.tar.gz) = 56191429

View file

@ -19,27 +19,30 @@ The Lazarus RAD devel was installed
4) You can use %%LOCALBASE%%/bin/gdb debugger instead of gdb installed debugger 4) You can use %%LOCALBASE%%/bin/gdb debugger instead of gdb installed debugger
installed from base system. Lazarus works better with this version. installed from base system. Lazarus works better with this version.
5) The lazbuild.cfg file has been removed, it is not necessary anymore. Now 5) We can use the following ports for aplications that depend of lazarus
we can use the following ports for aplications that depend of lazarus
and these can be built with an interface different than lazarus has compiled and these can be built with an interface different than lazarus has compiled
by default: by default:
editors/lazarus editors/lazarus
editors/lazarus-devel
editors/lazarus-qt5 editors/lazarus-qt5
editors/lazarus-qt5-devel
editors/lazarus-qt6-devel
You can added those ports if you want support for gtk2 or qt5 You can added those ports if you want support for gtk2, qt5 or qt6
interfaces. Please look at net-p2p/transmission-remote-gui like a example of interfaces. Please look at net-p2p/transmission-remote-gui like a example of
how use it how use it
6) If you want built apps using trunk version of lazarus, you must add the 6) If you want built apps using devel version of lazarus, you must add the
following into /etc/make.conf file following into /etc/make.conf file
WANT_LAZARUS_DEVEL= yes WANT_LAZARUS_DEVEL= yes
It is neccesary for use devel version of lazarus (gtk2 or qt5) It is neccesary for use devel version of lazarus (gtk2, qt5 or qt6)
editors/lazarus-devel editors/lazarus-devel
editors/lazarus-qt5-devel editors/lazarus-qt5-devel
editors/lazarus-qt6-devel
7) Enjoy it ;) 7) Enjoy it ;)
EOM EOM

View file

@ -2,7 +2,7 @@ PKGNAMESUFFIX?= -qt5-devel
COMMENT= Portable Delphi-like IDE for the FreePascal compiler (QT5 devel) COMMENT= Portable Delphi-like IDE for the FreePascal compiler (QT5 devel)
CONFLICTS= ${PORTNAME}-gtk2-* ${PORTNAME}-qt5-2* CONFLICTS= lazarus-gtk2 lazarus-gtk2-devel lazarus-qt5 lazarus-qt6-devel
LIB_DEPENDS= libQt5Pas.so:x11-toolkits/qt5pas LIB_DEPENDS= libQt5Pas.so:x11-toolkits/qt5pas