diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2006-12-19 21:05:15 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2006-12-19 21:05:15 +0000 |
commit | 58115496628672e31a3c44b761f7526483154c2f (patch) | |
tree | 4298c6bc23bc5d33b9d489a83dfab5d291598afb /audio/gnuitar/Makefile | |
parent | bdf8bd18f3b9bfb8c3b3dd644ae3bf75637376c1 (diff) | |
download | ports-58115496628672e31a3c44b761f7526483154c2f.tar.gz ports-58115496628672e31a3c44b761f7526483154c2f.zip |
Notes
Diffstat (limited to 'audio/gnuitar/Makefile')
-rw-r--r-- | audio/gnuitar/Makefile | 41 |
1 files changed, 37 insertions, 4 deletions
diff --git a/audio/gnuitar/Makefile b/audio/gnuitar/Makefile index e3b78b1e0f96..f3004297cc41 100644 --- a/audio/gnuitar/Makefile +++ b/audio/gnuitar/Makefile @@ -5,6 +5,7 @@ PORTNAME= gnuitar PORTVERSION= 0.3.2 +PORTREVISION= 1 CATEGORIES= audio multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -13,14 +14,25 @@ MAINTAINER= gabor@FreeBSD.org COMMENT= The real-time guitar processor USE_BZIP2= yes -USE_X_PREFIX= YES -USE_GNOME= gtk20 glib20 -WANT_GNOME= YES -GNU_CONFIGURE= YES +USE_GNOME= gtk20 +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} + +OPTIONS= SUID "Use suid to allow highest priority (priv. dropped)" On + +DESKTOP_ENTRIES="GNUitar" \ + "Apply guitar effects in real-time" \ + "gnuitar" \ + "gnuitar" \ + "" \ + true + pre-fetch: @${CAT} pkg-message @@ -28,4 +40,25 @@ post-patch: @${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" \ ${WRKSRC}/configure ${WRKSRC}/src/Makefile +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 + .include <bsd.port.mk> |