mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
- Bump PORTREVISION. lzarus has been updated
- Add QT/GTK OPTIONS like another lazarus app port
This commit is contained in:
parent
60d8333e9e
commit
cf03b37daf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=376735
1 changed files with 28 additions and 5 deletions
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= emkatic
|
||||
PORTVERSION= 0.17
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= russian emulators
|
||||
MASTER_SITES= SF/${PORTNAME}/eMKatic%20Source
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
@ -17,26 +18,48 @@ BUILD_DEPENDS= lazbuild:${PORTSDIR}/editors/lazarus \
|
|||
fpcres:${PORTSDIR}/lang/fpc-utils
|
||||
|
||||
USE_FPC= yes
|
||||
WANT_GNOME= yes
|
||||
|
||||
PROJECT_FILE= emkatic.lpi
|
||||
LAZARUS_VER= 1.2.4
|
||||
LAZARUS_VER= 1.2.6
|
||||
LAZBUILD_CMD= ${LOCALBASE}/bin/lazbuild -d --pcp=${WRKSRC}/tmppcp
|
||||
LAZARUS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER}
|
||||
BUILD_MODE= SrcDist
|
||||
#BUILD_MODE= SrcDist
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
OPTIONS_DEFINE= PORTAUDIO
|
||||
OPTIONS_DEFAULT= PORTAUDIO
|
||||
OPTIONS_SINGLE= LCL
|
||||
OPTIONS_SINGLE_LCL= GTK2 QT4
|
||||
|
||||
GTK2_DESC= Use gtk20 interface
|
||||
QT4_DESC= Use qt4 interface
|
||||
|
||||
OPTIONS_DEFAULT= PORTAUDIO GTK2
|
||||
|
||||
PORTAUDIO_RUN_DEPENDS= ${LOCALBASE}/lib/portaudio2/libportaudio.so.2:${PORTSDIR}/audio/portaudio2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MGTK2}
|
||||
USE_FPC+= gtk2
|
||||
USE_GNOME= gtk20
|
||||
LCL_PLATFORM= gtk2
|
||||
BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-gtk2
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MQT4}
|
||||
LIB_DEPENDS+= libQt4Pas.so:${PORTSDIR}/x11-toolkits/qt4pas
|
||||
LCL_PLATFORM= qt
|
||||
BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:${PORTSDIR}/editors/lazarus-lcl-qt
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && \
|
||||
${LAZBUILD_CMD} --bm="${BUILD_MODE}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
|
||||
${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC} && \
|
||||
${INSTALL_PROGRAM} emkatic ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue