summaryrefslogtreecommitdiff
path: root/lang/snobol/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-02-06 18:13:51 +0000
committerwiz <wiz@pkgsrc.org>2001-02-06 18:13:51 +0000
commitaa9c161a9f2ea40a36d3f9e436dcc368e1a7e771 (patch)
tree901b20ecf1f8401e1177e1643ecf1bf94cf9208e /lang/snobol/Makefile
parentf0bcd612c45abac155873a0056525897e920b664 (diff)
downloadpkgsrc-aa9c161a9f2ea40a36d3f9e436dcc368e1a7e771.tar.gz
Update the package to 0.99.4nb1. All changes by John Refling.
Closes pkg/10535. Changes are: o Bypassed the hard-to-reproduce build failure caused by getrusage() returning decreasing microsecond times. Did this by wrapping the getrusage() function so that it never returns a smaller value for microseconds than the previous time it was called, if called within the same second. Perhaps this should be done to getrusage() internally, until fixed the proper way. See PR bin/10201. --- refling. o Added a tutorial and a message about it. --- refling.
Diffstat (limited to 'lang/snobol/Makefile')
-rw-r--r--lang/snobol/Makefile31
1 files changed, 23 insertions, 8 deletions
diff --git a/lang/snobol/Makefile b/lang/snobol/Makefile
index a63ebb6fde0..c169530a303 100644
--- a/lang/snobol/Makefile
+++ b/lang/snobol/Makefile
@@ -1,26 +1,41 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/03/11 06:01:55 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2001/02/06 18:13:51 wiz Exp $
#
DISTNAME= snobol-0.99.4
CATEGORIES= lang
MASTER_SITES= ftp://ftp.snobol4.com/ \
ftp://alpha.gnu.org/budne/snobol/
+DISTFILES= vanilla.zip snobol-0.99.4.tar.gz
-MAINTAINER= packages@netbsd.org
+MAINTAINER= refling@comet.lbl.gov
HOMEPAGE= http://people.ne.mediaone.net/philbudne/snobol.html
+BUILD_DEPENDS= unzip:../../archivers/unzip
+
+EXTRACT_ONLY= snobol-0.99.4.tar.gz
+
ALL_TARGET= it
USE_CONFIGURE= NO
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xsnobol4 ${PREFIX}/bin/snobol4
- ${INSTALL_MAN} ${WRKSRC}/doc/snobol4.1 ${PREFIX}/man/man1
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/snobol4
- cd ${WRKSRC} && ${INSTALL_DATA} snolib.a snolib/bq.sno \
+ @${CP} ${WRKSRC}/doc/head ${WRKSRC}/doc/tutorial
+ @unzip -d ${WRKSRC} -joqqLC ${DISTDIR}/vanilla.zip pm.exe
+ @unzip -p -opaaqqLC ${WRKSRC}/pm.exe >> ${WRKSRC}/doc/tutorial
+ @${GZIP_CMD} ${WRKSRC}/doc/tutorial
+ @${INSTALL_PROGRAM} ${WRKSRC}/xsnobol4 ${PREFIX}/bin/snobol4
+ @${INSTALL_MAN} ${WRKSRC}/doc/snobol4.1 ${PREFIX}/man/man1
+ @${INSTALL_DATA_DIR} ${PREFIX}/lib/snobol4
+ @cd ${WRKSRC} && ${INSTALL_DATA} snolib.a snolib/bq.sno \
${PREFIX}/lib/snobol4
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snobol4
- cd ${WRKSRC}/doc && ${INSTALL_DATA} load.doc design.doc \
+ @${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snobol4
+ @cd ${WRKSRC}/doc && ${INSTALL_DATA} load.doc design.doc tutorial.gz \
${PREFIX}/share/doc/snobol4
+ @${ECHO} ''
+ @${ECHO} '***********************************************************'
+ @${ECHO} '* A helpful tutorial is at share/doc/snobol4/tutorial.gz *'
+ @${ECHO} '* within your package tree. *'
+ @${ECHO} '***********************************************************'
+ @${ECHO} ''
.include "../../mk/bsd.pkg.mk"