blob: f9b906f20dd3752ae05bff13d6f7fdde97a9eaf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
PORTNAME= praat
DISTVERSIONPREFIX= v
DISTVERSION= 6.1.40
CATEGORIES= audio science
MAINTAINER= adridg@FreeBSD.org
COMMENT= Phonetics by Computer
LICENSE= GPLv2
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
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 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}/man/man1
.include <bsd.port.mk>
|