470d119228
New scripting improvements, and the release notes are at https://www.fon.hum.uva.nl/praat/manual/What_s_new_.html
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
PORTNAME= praat
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 6.3.01
|
|
CATEGORIES= audio science
|
|
|
|
MAINTAINER= adridg@FreeBSD.org
|
|
COMMENT= Phonetics by Computer
|
|
WWW= https://www.fon.hum.uva.nl/praat/
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
|
libfreetype.so:print/freetype2 \
|
|
libharfbuzz.so:print/harfbuzz \
|
|
libasound.so:audio/alsa-lib
|
|
# These are recommended but I can't tell the difference
|
|
RUN_DEPENDS= CharisSIL>=0:x11-fonts/charis \
|
|
DoulosSIL>=0:x11-fonts/doulos
|
|
|
|
USES= compiler:c++11-lang dos2unix gnome iconv pkgconfig xorg
|
|
USE_GNOME= cairo gdkpixbuf2 gtk30
|
|
USE_GITHUB= yes
|
|
USE_XORG= x11
|
|
|
|
DOS2UNIX_FILES= \
|
|
fon/Makefile \
|
|
melder/Makefile \
|
|
sys/Makefile \
|
|
EEG/Makefile
|
|
|
|
PLIST_FILES= bin/praat share/man/man1/praat.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^CPPFLAGS =|CPPFLAGS +=|' \
|
|
${WRKSRC}/*/Makefile \
|
|
${WRKSRC}/external/*/Makefile
|
|
@${CP} ${WRKSRC}/makefiles/makefile.defs.freebsd.alsa \
|
|
${WRKSRC}/makefile.defs
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/praat ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${FILESDIR}/praat.1 ${STAGEDIR}${PREFIX}/share/man/man1
|
|
|
|
.include <bsd.port.mk>
|