- ${MKDIR} -> ${INSTALL_DATA_DIR}

- remove workaround for texinfo install-info bug
- fix cut & paste mistake in PLIST
This commit is contained in:
brad 2000-01-16 05:18:21 +00:00
parent 7f697358f9
commit 7e360e9fb2
2 changed files with 6 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 1999/06/13 05:50:19 brad Exp $
# $OpenBSD: Makefile,v 1.7 2000/01/16 05:18:21 brad Exp $
DISTNAME= nasm-0.97
CATEGORIES= devel lang
@ -13,17 +13,14 @@ SEPARATE_BUILD= concurrent
GNU_CONFIGURE= yes
post-install:
@${MKDIR} ${PREFIX}/share/doc/nasm
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/nasm
${INSTALL_MAN} ${WRKSRC}/*.doc ${PREFIX}/share/doc/nasm
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/nasm
${INSTALL_DATA} ${WRKSRC}/doc/nasmdoc.ps ${PREFIX}/share/doc/nasm
${INSTALL_DATA} ${WRKSRC}/doc/nasmdoc.src ${PREFIX}/share/doc/nasm
${INSTALL_DATA} ${WRKSRC}/doc/nasmdoc.txt ${PREFIX}/share/doc/nasm
${INSTALL_SCRIPT} ${WRKSRC}/doc/rdsrc.pl ${PREFIX}/share/doc/nasm
@${MKDIR} ${PREFIX}/info
${INSTALL_DATA} $(WRKSRC)/doc/nasm.info $(PREFIX)/info
@test -f ${PREFIX}/info/dir || \
sed -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir
install-info ${PREFIX}/info/nasm.info ${PREFIX}/info/dir
${INSTALL_DATA} ${WRKSRC}/doc/nasm.info $(PREFIX)/info
@install-info ${PREFIX}/info/nasm.info ${PREFIX}/info/dir
.include <bsd.port.mk>

View File

@ -1,9 +1,8 @@
bin/nasm
bin/ndisasm
@unexec install-info --delete %D/info/glib.info %D/info/dir
@unexec install-info --delete %D/info/nasm.info %D/info/dir
info/nasm.info
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
@exec install-info %D/info/glib.info %D/info/dir
@exec install-info %D/info/nasm.info %D/info/dir
man/man1/nasm.1
man/man1/ndisasm.1
share/doc/nasm/internal.doc