diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-11-13 11:27:19 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2013-11-13 11:27:19 +0000 |
commit | a40faaaef5421ae759e037f38dc85527f102c2df (patch) | |
tree | f4fde2725980ab76b86f171aca4fe714625b2109 /audio/gbsplay | |
parent | d4bed9df868eb9c3affe7956ba6815a4432d1dc2 (diff) | |
download | ports-a40faaaef5421ae759e037f38dc85527f102c2df.tar.gz ports-a40faaaef5421ae759e037f38dc85527f102c2df.zip |
Notes
Diffstat (limited to 'audio/gbsplay')
-rw-r--r-- | audio/gbsplay/Makefile | 27 | ||||
-rw-r--r-- | audio/gbsplay/pkg-plist | 3 |
2 files changed, 19 insertions, 11 deletions
diff --git a/audio/gbsplay/Makefile b/audio/gbsplay/Makefile index 76e063f4d24b..ed8ee6b6111c 100644 --- a/audio/gbsplay/Makefile +++ b/audio/gbsplay/Makefile @@ -13,7 +13,6 @@ COMMENT?= Emulates the sound hardware of the Nintendo Game Boy(TM) 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 diff --git a/audio/gbsplay/pkg-plist b/audio/gbsplay/pkg-plist index de029cbef667..1fb00993c7b6 100644 --- a/audio/gbsplay/pkg-plist +++ b/audio/gbsplay/pkg-plist @@ -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%% |