Fri Feb 13 23:36:00 2009 UTC ()
Switch to INSTALLATION_DIRS


(abs)
diff -r1.16 -r1.17 pkgsrc/lang/brandybasic/Makefile

cvs diff -r1.16 -r1.17 pkgsrc/lang/brandybasic/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/brandybasic/Makefile 2008/03/04 16:38:11 1.16
+++ pkgsrc/lang/brandybasic/Makefile 2009/02/13 23:36:00 1.17
@@ -1,37 +1,35 @@ @@ -1,37 +1,35 @@
1# $NetBSD: Makefile,v 1.16 2008/03/04 16:38:11 jlam Exp $ 1# $NetBSD: Makefile,v 1.17 2009/02/13 23:36:00 abs Exp $
2# 2#
3 3
4DISTNAME= b116 4DISTNAME= b116
5PKGNAME= brandybasic-1.0.16 5PKGNAME= brandybasic-1.0.16
6PKGREVISION= 1 6PKGREVISION= 1
7CATEGORIES= lang 7CATEGORIES= lang
8MASTER_SITES= http://jaguar.orpheusweb.co.uk/ 8MASTER_SITES= http://jaguar.orpheusweb.co.uk/
9# http://jaguar.orpheusweb.co.uk/brandy_119.tgz 9# http://jaguar.orpheusweb.co.uk/brandy_119.tgz
10EXTRACT_SUFX= .tgz 10EXTRACT_SUFX= .tgz
11 11
12MAINTAINER= abs@NetBSD.org 12MAINTAINER= abs@NetBSD.org
13HOMEPAGE= http://jaguar.orpheusweb.co.uk/branpage.html 13HOMEPAGE= http://jaguar.orpheusweb.co.uk/branpage.html
14COMMENT= Brandy Basic V interpreter - Acorn ARM Computers BASIC dialect 14COMMENT= Brandy Basic V interpreter - Acorn ARM Computers BASIC dialect
15 15
16NOT_FOR_PLATFORM= SunOS-*-* # needs porting 16NOT_FOR_PLATFORM= SunOS-*-* # needs porting
17 17
18PKG_DESTDIR_SUPPORT= user-destdir 18PKG_DESTDIR_SUPPORT= user-destdir
19 19
20WRKSRC= ${WRKDIR}/brandy-1.0.16 20WRKSRC= ${WRKDIR}/brandy-1.0.16
21DOCDIR= ${PREFIX}/share/doc/brandy 21DOCDIR= share/doc/brandy
22EXAMPLEDIR= ${PREFIX}/share/examples/brandy 22EXAMPLEDIR= share/examples/brandy
23BUILD_TARGET= nodebug 23BUILD_TARGET= nodebug
24 24
25USE_TOOLS+= gtar 25USE_TOOLS+= gtar
26INSTALLATION_DIRS= bin 26INSTALLATION_DIRS= bin ${DOCDIR} ${EXAMPLEDIR}
27 27
28do-install: 28do-install:
29 ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} 
30 ${INSTALL_DATA_DIR} ${DESTDIR}${EXAMPLEDIR} 
31 cd ${WRKSRC}/docs && ${GTAR} -cf - `ls |grep -v .orig` | \ 29 cd ${WRKSRC}/docs && ${GTAR} -cf - `ls |grep -v .orig` | \
32 (cd ${DESTDIR}${DOCDIR} && tar xf -) 30 (cd ${DESTDIR}${PREFIX}/${DOCDIR} && gtar xf -)
33 cd ${WRKSRC}/examples && ${GTAR} -cf - [a-z]* | \ 31 cd ${WRKSRC}/examples && ${GTAR} -cf - [a-z]* | \
34 (cd ${DESTDIR}${EXAMPLEDIR} && tar xf -) 32 (cd ${DESTDIR}${PREFIX}/${EXAMPLEDIR} && gtar xf -)
35 ${INSTALL_PROGRAM} ${WRKSRC}/brandy ${DESTDIR}${PREFIX}/bin/brandy 33 ${INSTALL_PROGRAM} ${WRKSRC}/brandy ${DESTDIR}${PREFIX}/bin/brandy
36 34
37.include "../../mk/bsd.pkg.mk" 35.include "../../mk/bsd.pkg.mk"