1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/graphics/lazpaint/Makefile
Jose Alonso Cardenas Marquez 449664902c - Bump PORTREVISION. editors/lazarus was updated to 2.0.0
- Add patch-lazpaint_uclipboard.pas
- Use new version of bgrabitmap and bgracontrols (lazarus 2.0.0 compatibility)
2019-03-07 05:02:17 +00:00

52 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= lazpaint
PORTVERSION= 6.4.1
DISTVERSIONPREFIX= v
PORTREVISION= 2
CATEGORIES= graphics
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
MAINTAINER= acm@FreeBSD.org
COMMENT= Image editor written in Lazarus
LICENSE= GPLv3
gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt4 ${PORTNAME}-qt5
qt4_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt5
qt5_CONFLICTS_INSTALL= ${PORTNAME}-gtk2 ${PORTNAME}-qt4
USES= dos2unix fpc lazarus:flavors
USE_FPC= chm fcl-base fcl-image fcl-json fcl-net fcl-web fcl-xml \
opengl openssl pasjpeg rtl-extra rtl-objpas x11
USE_XORG= x11
DOS2UNIX_REGEX= .*\.([txt]|pas|lpi|txt)
USE_GITHUB= yes
GH_ACCOUNT= bgrabitmap
GH_PROJECT= lazpaint
GH_TAGNAME= 4fc4381
GH_TUPLE= bgrabitmap:bgracontrols:ec090e5:bgracontrols/bgracontrols \
bgrabitmap:bgrabitmap:cd2d856:bgrabitmap/bgrabitmapnew
USE_FPC_gtk2= cairo
USE_GNOME_gtk2= cairo
USE_FPC+= ${USE_FPC_${FLAVOR}}
USE_GNOME+= ${USE_GNOME_${FLAVOR}}
LAZARUS_PROJECT_FILES= bgrabitmapnew/bgrabitmap/bgrabitmappack.lpk
LAZARUS_PROJECT_FILES+= bgracontrols/bgracontrols.lpk
LAZARUS_PROJECT_FILES+= lazpaint/lazpaint.lpi
LAZBUILD_ARGS= -d
LLD_UNSAFE= yes
post-patch:
${REINPLACE_CMD} 's|%%DATADIR%%|${DATADIR}|g' ${WRKSRC}/lazpaint/utranslation.pas
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lazpaint/release/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/lazpaint/release && ${COPYTREE_SHARE} "i18n models" ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>