[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / a60

File: [cvs.NetBSD.org] / pkgsrc / lang / a60 / Makefile (download)

Revision 1.14, Sat Apr 6 20:27:21 2013 UTC (10 years, 11 months ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.13: +2 -2 lines

Resolves:
"INFO_FILES should be set to YES or yes."
"Packages that install info files should set INFO_FILES."
Makefile and PLIST warning, respectively.

# $NetBSD: Makefile,v 1.14 2013/04/06 20:27:21 rodent Exp $

DISTNAME=	a60-0.20a
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.ibr.cs.tu-bs.de/pub/local/algol60/

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Algol 60 interpreter

GNU_CONFIGURE=	yes

CPPFLAGS+=	-Dunix

INFO_FILES=	yes

INSTALLATION_DIRS=	bin ${PKGINFODIR} ${PKGMANDIR}/man1

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/a60 ${DESTDIR}${PREFIX}/bin/
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/a60/
	${INSTALL_DATA} ${WRKSRC}/a60-mkc.inc				\
		${DESTDIR}${PREFIX}/share/a60/
	cd ${WRKSRC}; for f in						\
		RRA60.info RRA60.info-[0-9]*				\
		a60.info a60.info-[0-9]*;				\
	do								\
		${TEST} ! -f "$$f" ||					\
		${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
	done
	${INSTALL_MAN} ${WRKSRC}/a60.man				\
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/a60.1
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/a60/
	cd ${WRKSRC}/examples && ${INSTALL_DATA} *.a60 README		\
		${DESTDIR}${PREFIX}/share/examples/a60/
	${INSTALL_DATA} ${WRKSRC}/xa60.*				\
		${DESTDIR}${PREFIX}/share/examples/a60/
	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/a60/
	cd ${WRKSRC} && ${INSTALL_DATA} a60.ps RRA60.ps			\
		${DESTDIR}${PREFIX}/share/doc/a60/

.include "../../mk/bsd.pkg.mk"