2005-12-03 22:22:11 +00:00
|
|
|
# Ports collection Makefile for: gnuitar
|
|
|
|
# Date created: 3 Dec 2005
|
|
|
|
# Whom: Gabor Kovesdan
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gnuitar
|
|
|
|
PORTVERSION= 0.3.2
|
2009-07-31 13:57:52 +00:00
|
|
|
PORTREVISION= 4
|
2005-12-03 22:22:11 +00:00
|
|
|
CATEGORIES= audio multimedia
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2006-12-08 13:46:35 +00:00
|
|
|
MAINTAINER= gabor@FreeBSD.org
|
2005-12-03 22:22:11 +00:00
|
|
|
COMMENT= The real-time guitar processor
|
|
|
|
|
2005-12-06 12:34:41 +00:00
|
|
|
USE_BZIP2= yes
|
2006-12-19 21:05:15 +00:00
|
|
|
USE_GNOME= gtk20
|
|
|
|
GNU_CONFIGURE= yes
|
2005-12-03 22:22:11 +00:00
|
|
|
CONFIGURE_ARGS+=--with-gtk2 \
|
|
|
|
--enable-clip-everywhere \
|
|
|
|
--enable-float
|
|
|
|
|
2006-12-19 21:05:15 +00: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}
|
|
|
|
|
|
|
|
OPTIONS= SUID "Use suid to allow highest priority (priv. dropped)" On
|
|
|
|
|
|
|
|
DESKTOP_ENTRIES="GNUitar" \
|
|
|
|
"Apply guitar effects in real-time" \
|
|
|
|
"gnuitar" \
|
|
|
|
"gnuitar" \
|
|
|
|
"" \
|
|
|
|
true
|
|
|
|
|
2008-06-14 22:25:30 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-12-03 22:22:11 +00:00
|
|
|
pre-fetch:
|
|
|
|
@${CAT} pkg-message
|
|
|
|
|
2006-03-24 00:31:57 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \
|
|
|
|
${WRKSRC}/configure ${WRKSRC}/src/Makefile
|
|
|
|
|
2006-12-19 21:05:15 +00:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/gnuitar ${PREFIX}/bin
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/pixmaps
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/src/gnuitar.xpm ${PREFIX}/share/pixmaps
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${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
|
|
|
|
.if defined(WITH_SUID)
|
|
|
|
# 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
|
|
|
|
|
2008-06-14 22:25:30 +00:00
|
|
|
.include <bsd.port.post.mk>
|