aboutsummaryrefslogtreecommitdiffstats
path: root/audio/gvolwheel/Makefile
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-07 02:10:39 +0800
committerbapt <bapt@FreeBSD.org>2014-04-07 02:10:39 +0800
commit7aa842512ccf04e9a255c32bb17b0e5ba0c47891 (patch)
treeb96d6b90966b134f32d4c1eb0ece0cbd47b291d5 /audio/gvolwheel/Makefile
parent61b8cb4a097e60979188ffa834d1983730d73b6d (diff)
downloadfreebsd-ports-gnome-7aa842512ccf04e9a255c32bb17b0e5ba0c47891.tar.gz
freebsd-ports-gnome-7aa842512ccf04e9a255c32bb17b0e5ba0c47891.tar.zst
freebsd-ports-gnome-7aa842512ccf04e9a255c32bb17b0e5ba0c47891.zip
Support stage
Diffstat (limited to 'audio/gvolwheel/Makefile')
-rw-r--r--audio/gvolwheel/Makefile15
1 files changed, 3 insertions, 12 deletions
diff --git a/audio/gvolwheel/Makefile b/audio/gvolwheel/Makefile
index dbb8140f836b..b1b86b2475e4 100644
--- a/audio/gvolwheel/Makefile
+++ b/audio/gvolwheel/Makefile
@@ -17,7 +17,6 @@ BUILD_DEPENDS= intltoolize:${PORTSDIR}/textproc/intltool
CONFIGURE_ARGS+=--enable-oss
GNU_CONFIGURE= yes
USES= gmake iconv pathfix pkgconfig
-NO_STAGE= yes
USE_GNOME= gtk30
PORTDOCS= AUTHORS ChangeLog README
@@ -33,21 +32,13 @@ SUB_FILES= pkg-message
DESKTOP_ENTRIES="GVolWheel" "${COMMENT}" "${PORTNAME}" \
"${PORTNAME}" "GTK;AudioVideo;Audio;Mixer;" true
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e 's|linux/soundcard|sys/soundcard|g' \
${WRKSRC}/src/callbacks.c ${WRKSRC}/src/actions.c
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
- ${LN} -sf ${PREFIX}/share/pixmaps/gvolwheel/audio-volume-high.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
-
- @${ECHO_CMD}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_CMD}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ ${LN} -sf ${PREFIX}/share/pixmaps/gvolwheel/audio-volume-high.png ${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
.include <bsd.port.mk>