diff options
Diffstat (limited to 'lang/a60/Makefile')
-rw-r--r-- | lang/a60/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/lang/a60/Makefile b/lang/a60/Makefile index 4e35fefe4aa..a34b7f3e874 100644 --- a/lang/a60/Makefile +++ b/lang/a60/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2006/03/04 21:29:53 jlam Exp $ +# $NetBSD: Makefile,v 1.10 2006/04/05 06:27:41 jlam Exp $ DISTNAME= a60-0.20a CATEGORIES= lang @@ -11,16 +11,22 @@ GNU_CONFIGURE= yes CPPFLAGS+= -Dunix -INFO_FILES= RRA60.info a60.info +INFO_FILES= # PLIST -INSTALLATION_DIRS= bin info man/man1 +INSTALLATION_DIRS= bin ${PKGINFODIR} ${PKGMANDIR}/man1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/a60 ${PREFIX}/bin/ ${INSTALL_DATA_DIR} ${PREFIX}/share/a60/ ${INSTALL_DATA} ${WRKSRC}/a60-mkc.inc ${PREFIX}/share/a60/ - cd ${WRKSRC} && ${INSTALL_DATA} a60.info RRA60.info ${PREFIX}/info - ${INSTALL_MAN} ${WRKSRC}/a60.man ${PREFIX}/man/man1/a60.1 + cd ${WRKSRC}; for f in \ + RRA60.info RRA60.info-[0-9]* \ + a60.info a60.info-[0-9]*; \ + do \ + ${TEST} ! -f "$$f" || \ + ${INSTALL_DATA} "$$f" ${PREFIX}/${PKGINFODIR}; \ + done + ${INSTALL_MAN} ${WRKSRC}/a60.man ${PREFIX}/${PKGMANDIR}/man1/a60.1 ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/a60/ cd ${WRKSRC}/examples && ${INSTALL_DATA} *.a60 README \ ${PREFIX}/share/examples/a60/ |