1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/russian/emkatic/Makefile
Jose Alonso Cardenas Marquez c0b7145df2 - Rebuild bootstrap (ppcx64 and ppc386) with ld patches
- Fix build on 12-STABLE and CURRENT (amd64 and i386)
- Bump PORTREVISION for all ports that depends of lang/fpc
- Add USE_BINUTILS to fpc and lazarus based ports
- Add binutils dependency to Uses/fpc.mk and Uses/lazarus.mk

PR:		240293 239934 233413 214864
Exp-run by:	antoine
2019-09-03 15:51:50 +00:00

50 lines
1.2 KiB
Makefile

# Created by: Andrey Fesenko <andrey@bsdnir.info>
# $FreeBSD$
PORTNAME= emkatic
PORTVERSION= 0.36
PORTREVISION= 5
CATEGORIES= russian emulators
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
MASTER_SITES= SF/${PORTNAME}/eMKatic%20Source
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= andrey@bsdnir.info
COMMENT= Emulator of Elektronika RPN programmable calculator series
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING.txt
USES= fpc lazarus:flavors
USE_FPC= cairo chm fcl-base fcl-image fcl-json fcl-registry fcl-xml \
pasjpeg regexpr rtl-extra x11
USE_XORG= x11
LAZARUS_PROJECT_FILES= emkatic.lpi
LAZBUILD_ARGS= -d --pcp=${WRKSRC}/tmppcp
PLIST_FILES= bin/${PORTNAME}
PORTDATA= *
PORTDOCS= CHANGELOG.*.txt README.*.txt
gtk2_CONFLICTS_INSTALL= ru-${PORTNAME}-qt5
qt5_CONFLICTS_INSTALL= ru-${PORTNAME}-gtk2
OPTIONS_DEFINE= DOCS PORTAUDIO
OPTIONS_DEFAULT= PORTAUDIO
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
.if ${FLAVOR:Ugtk2:Mgtk2}
USE_GNOME+= cairo
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>