diff options
author | antoine <antoine@FreeBSD.org> | 2014-01-17 02:23:42 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-01-17 02:23:42 +0800 |
commit | 6b641a75406b4b8d4d6ba8f81e4e0317a908b8ef (patch) | |
tree | 41ac4e448b469458d6f35ce8db5c0575576935a0 /audio | |
parent | a0850038d2bf6662652228ce0fce8d09f489c0f6 (diff) | |
download | freebsd-ports-gnome-6b641a75406b4b8d4d6ba8f81e4e0317a908b8ef.tar.gz freebsd-ports-gnome-6b641a75406b4b8d4d6ba8f81e4e0317a908b8ef.tar.zst freebsd-ports-gnome-6b641a75406b4b8d4d6ba8f81e4e0317a908b8ef.zip |
Stage support
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gnuitar/Makefile | 37 | ||||
-rw-r--r-- | audio/gnuitar/pkg-plist | 2 |
2 files changed, 13 insertions, 26 deletions
diff --git a/audio/gnuitar/Makefile b/audio/gnuitar/Makefile index abcc6cb51ccc..2573aa30acd9 100644 --- a/audio/gnuitar/Makefile +++ b/audio/gnuitar/Makefile @@ -1,20 +1,19 @@ # Created by: Gabor Kovesdan # $FreeBSD$ -PORTNAME= gnuitar -PORTVERSION= 0.3.2 +PORTNAME= gnuitar +PORTVERSION= 0.3.2 PORTREVISION= 8 -CATEGORIES= audio multimedia -MASTER_SITES= SF +CATEGORIES= audio multimedia +MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= The real-time guitar processor USE_BZIP2= yes -NO_STAGE= yes USE_GNOME= gtk20 GNU_CONFIGURE= yes -CONFIGURE_ARGS+=--with-gtk2 \ +CONFIGURE_ARGS= --with-gtk2 \ --enable-clip-everywhere \ --enable-float @@ -26,6 +25,7 @@ USES= gmake pkgconfig OPTIONS_DEFINE= SUID DOCS OPTIONS_DEFAULT= SUID SUID_DESC= Use suid to allow highest priority (priv. dropped) +OPTIONS_SUB= yes DESKTOP_ENTRIES="GNUitar" \ "Apply guitar effects in real-time" \ @@ -34,8 +34,6 @@ DESKTOP_ENTRIES="GNUitar" \ "" \ true -.include <bsd.port.options.mk> - pre-fetch: @${CAT} pkg-message @@ -44,23 +42,10 @@ post-patch: ${WRKSRC}/configure ${WRKSRC}/src/Makefile do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/src/gnuitar ${PREFIX}/bin - -post-install: - @${INSTALL_DATA} ${WRKSRC}/src/gnuitar.xpm ${PREFIX}/share/pixmaps -.if ${PORT_OPTIONS:MDOCS} - @${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 ${PORT_OPTIONS:MSUID} -# 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 + ${INSTALL_PROGRAM} ${WRKSRC}/src/gnuitar ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/src/gnuitar.xpm ${STAGEDIR}${PREFIX}/share/pixmaps + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${TXT_DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${HTML_DOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/audio/gnuitar/pkg-plist b/audio/gnuitar/pkg-plist index a56cfca1e3b7..5ae4de0b1b67 100644 --- a/audio/gnuitar/pkg-plist +++ b/audio/gnuitar/pkg-plist @@ -1,2 +1,4 @@ +%%SUID%%@mode 4555 bin/gnuitar +%%SUID%%@mode share/pixmaps/gnuitar.xpm |