mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
audio/praat: add .desktop file and icon
This makes praat nicer to use in a desktop environment. PR: 283724
This commit is contained in:
parent
99dc2c6967
commit
910c64be00
1 changed files with 12 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
PORTNAME= praat
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 6.4.27
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio science
|
||||
|
||||
MAINTAINER= adridg@FreeBSD.org
|
||||
|
@ -21,7 +22,10 @@ USE_GITHUB= yes
|
|||
USE_GNOME= cairo gdkpixbuf2 gtk30
|
||||
USE_XORG= x11
|
||||
|
||||
PLIST_FILES= bin/praat share/man/man1/praat.1.gz
|
||||
PLIST_FILES= bin/praat \
|
||||
share/man/man1/praat.1.gz \
|
||||
share/applications/${PORTNAME}.desktop \
|
||||
share/icons/hicolor/scalable/apps/${PORTNAME}.svg
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|^CPPFLAGS =|CPPFLAGS +=|' \
|
||||
|
@ -29,9 +33,16 @@ post-patch:
|
|||
${WRKSRC}/external/*/Makefile
|
||||
${CP} ${WRKSRC}/makefiles/makefile.defs.freebsd.alsa \
|
||||
${WRKSRC}/makefile.defs
|
||||
@${CP} ${WRKSRC}/main/praat-480.svg \
|
||||
${WRKSRC}/praat.svg
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/praat ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${FILESDIR}/praat.1 ${STAGEDIR}${PREFIX}/share/man/man1
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.svg \
|
||||
${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
|
||||
${INSTALL_DATA} ${WRKSRC}/main/${PORTNAME}.desktop \
|
||||
${STAGEDIR}${DESKTOPDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue