svn commit: r333672 - head/audio/gbsplay
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Nov 13 11:27:20 UTC 2013
Author: ehaupt
Date: Wed Nov 13 11:27:19 2013
New Revision: 333672
URL: http://svnweb.freebsd.org/changeset/ports/333672
Log:
Support stage.
Modified:
head/audio/gbsplay/Makefile
head/audio/gbsplay/pkg-plist
Modified: head/audio/gbsplay/Makefile
==============================================================================
--- head/audio/gbsplay/Makefile Wed Nov 13 11:24:03 2013 (r333671)
+++ head/audio/gbsplay/Makefile Wed Nov 13 11:27:19 2013 (r333672)
@@ -13,7 +13,6 @@ COMMENT?= Emulates the sound hardware of
HAS_CONFIGURE= yes
USES= gettext gmake
-NO_STAGE= yes
USE_CSTD= gnu89
CONFIGURE_ARGS+= --prefix=${PREFIX}
@@ -67,27 +66,33 @@ gbsplay-post-patch:
do-install:
.for f in ${PORTNAME} gbsinfo
- ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
+
.for f in ${MAN1} ${MAN5}
- ${INSTALL_MAN} ${WRKSRC}/${f} ${MAN${f:E}PREFIX}/man/man${f:E}
+ ${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${MAN${f:E}PREFIX}/man/man${f:E}
.endfor
- ${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/nightmode.gbs ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample ${PREFIX}/etc/gbsplayrc.default
-.if !exists(${PREFIX}/etc/gbsplayrc)
- ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample ${PREFIX}/etc/gbsplayrc
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/nightmode.gbs \
+ ${STAGEDIR}${EXAMPLESDIR}
+
+ ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \
+ ${STAGEDIR}${PREFIX}/etc/gbsplayrc.default
+.if !exists(${STAGEDIR}${PREFIX}/etc/gbsplayrc)
+ ${INSTALL_DATA} ${WRKSRC}/examples/gbsplayrc_sample \
+ ${STAGEDIR}${PREFIX}/etc/gbsplayrc
.endif
.for l in de en
- ${INSTALL_DATA} ${WRKSRC}/po/${l}.mo ${PREFIX}/share/locale/${l}/LC_MESSAGES/gbsplay.mo
+ ${INSTALL_DATA} ${WRKSRC}/po/${l}.mo \
+ ${STAGEDIR}${PREFIX}/share/locale/${l}/LC_MESSAGES/gbsplay.mo
.endfor
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
Modified: head/audio/gbsplay/pkg-plist
==============================================================================
--- head/audio/gbsplay/pkg-plist Wed Nov 13 11:24:03 2013 (r333671)
+++ head/audio/gbsplay/pkg-plist Wed Nov 13 11:27:19 2013 (r333672)
@@ -5,5 +5,8 @@ etc/gbsplayrc.default
@exec [ -f %B/gbsplayrc ] || cp %B/%f %B/gbsplayrc
share/locale/de/LC_MESSAGES/gbsplay.mo
share/locale/en/LC_MESSAGES/gbsplay.mo
+man/man1/gbsinfo.1.gz
+man/man1/gbsplay.1.gz
+man/man5/gbsplayrc.5.gz
%%EXAMPLESDIR%%/nightmode.gbs
@dirrm %%EXAMPLESDIR%%
More information about the svn-ports-all
mailing list