aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gnuitar/Makefile
blob: 7d857853a3aea6a042bd7d3cf0bf141b18af81d4 (plain) (blame)
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
44
45
46
47
48
# Created by: Gabor Kovesdan
# $FreeBSD$

PORTNAME=   gnuitar
PORTVERSION=    0.3.2
PORTREVISION=   8
CATEGORIES= audio multimedia
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Real-time guitar processor

USE_GNOME=  gtk20
USES=       tar:bzip2 gmake pkgconfig
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-gtk2 \
        --enable-clip-everywhere \
        --enable-float

TXT_DOCS=   AUTHORS COPYING FAQ INSTALL NEWS README TODO ChangeLog
HTML_DOCS=  faq.html index.html install.html readme.html
PORTDOCS=   ${TXT_DOCS} ${HTML_DOCS}

DESKTOP_ENTRIES="GNUitar" \
        "Apply guitar effects in real-time" \
        "${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
        "gnuitar" \
        "" \
        true

OPTIONS_DEFINE= SUID DOCS
OPTIONS_DEFAULT=    SUID
SUID_DESC=  Use suid to allow highest priority (priv. dropped)
OPTIONS_SUB=    yes

pre-everything::
    @${CAT} ${PKGMESSAGE}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/gnuitar ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/src/gnuitar.xpm ${STAGEDIR}${PREFIX}/share/pixmaps

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${TXT_DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${HTML_DOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>