o Install README file, since it is referenced by the man page.

o Correct path to REAME file in the man page.
This commit is contained in:
Quentin Garnier 2003-05-15 21:16:41 +00:00
parent 4e14eee97f
commit daa5f58427
2 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/05/15 20:22:11 cubidou Exp $
# $NetBSD: Makefile,v 1.2 2003/05/15 21:16:41 cubidou Exp $
#
DISTNAME= dosbox-0.58
@ -12,5 +12,13 @@ COMMENT= multi-platform DOS emulator using SDL
USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
post-patch:
${SED} -e s,/usr/share,${PREFIX}, ${WRKSRC}/docs/dosbox.1 > ${WRKSRC}/docs/dosbox.1.sed
${MV} ${WRKSRC}/docs/dosbox.1.sed ${WRKSRC}/docs/dosbox.1
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dosbox
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/dosbox
.include "../../devel/SDL/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,3 +1,5 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/15 20:22:11 cubidou Exp $
@comment $NetBSD: PLIST,v 1.2 2003/05/15 21:16:41 cubidou Exp $
bin/dosbox
man/man1/dosbox.1
share/doc/dosbox/README
@dirrm share/doc/dosbox