2013-01-07 03:07:26 +01:00
|
|
|
# Created by: Gabor Kovesdan
|
2005-12-03 23:22:11 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gnuitar
|
|
|
|
PORTVERSION= 0.3.2
|
2013-01-23 16:00:18 +01:00
|
|
|
PORTREVISION= 8
|
2005-12-03 23:22:11 +01:00
|
|
|
CATEGORIES= audio multimedia
|
2009-08-22 02:13:26 +02:00
|
|
|
MASTER_SITES= SF
|
2005-12-03 23:22:11 +01:00
|
|
|
|
2010-06-08 09:31:58 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-12-03 23:22:11 +01:00
|
|
|
COMMENT= The real-time guitar processor
|
|
|
|
|
2005-12-06 13:34:41 +01:00
|
|
|
USE_BZIP2= yes
|
2013-09-20 16:36:35 +02:00
|
|
|
NO_STAGE= yes
|
2006-12-19 22:05:15 +01:00
|
|
|
USE_GNOME= gtk20
|
|
|
|
GNU_CONFIGURE= yes
|
2005-12-03 23:22:11 +01:00
|
|
|
CONFIGURE_ARGS+=--with-gtk2 \
|
|
|
|
--enable-clip-everywhere \
|
|
|
|
--enable-float
|
|
|
|
|
2006-12-19 22:05:15 +01:00
|
|
|
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}
|
2013-09-03 08:36:41 +02:00
|
|
|
USES= gmake pkgconfig
|
2006-12-19 22:05:15 +01:00
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
OPTIONS_DEFINE= SUID DOCS
|
|
|
|
OPTIONS_DEFAULT= SUID
|
|
|
|
SUID_DESC= Use suid to allow highest priority (priv. dropped)
|
2006-12-19 22:05:15 +01:00
|
|
|
|
|
|
|
DESKTOP_ENTRIES="GNUitar" \
|
|
|
|
"Apply guitar effects in real-time" \
|
2013-01-07 03:07:26 +01:00
|
|
|
"${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
|
2006-12-19 22:05:15 +01:00
|
|
|
"gnuitar" \
|
|
|
|
"" \
|
|
|
|
true
|
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-06-15 00:25:30 +02:00
|
|
|
|
2005-12-03 23:22:11 +01:00
|
|
|
pre-fetch:
|
|
|
|
@${CAT} pkg-message
|
|
|
|
|
2006-03-24 01:31:57 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
|
|
|
|
${WRKSRC}/configure ${WRKSRC}/src/Makefile
|
|
|
|
|
2006-12-19 22:05:15 +01:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/gnuitar ${PREFIX}/bin
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/src/gnuitar.xpm ${PREFIX}/share/pixmaps
|
2012-06-01 08:57:16 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2006-12-19 22:05:15 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for i in ${TXT_DOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.for i in ${HTML_DOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2012-06-01 08:57:16 +02:00
|
|
|
.if ${PORT_OPTIONS:MSUID}
|
2006-12-19 22:05:15 +01:00
|
|
|
# make it setuid-root to be able to set realtime priority (root
|
|
|
|
# privileges are dropped in the main routine)
|
|
|
|
@${CHMOD} u+s ${PREFIX}/bin/gnuitar
|
|
|
|
.endif
|
|
|
|
|
2012-06-01 08:57:16 +02:00
|
|
|
.include <bsd.port.mk>
|