2007-10-01 10:32:15 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2007/10/01 08:32:15 obache Exp $
|
2000-03-11 07:01:55 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= snobol-0.99.4
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 2
|
2000-03-11 07:01:55 +01:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ftp://ftp.snobol4.com/ \
|
2007-10-01 10:32:15 +02:00
|
|
|
ftp://ftp.snobol4.org/snobol/old/
|
2001-02-06 19:27:36 +01:00
|
|
|
DISTFILES= vanilla.zip ${DISTNAME}${EXTRACT_SUFX}
|
2000-03-11 07:01:55 +01:00
|
|
|
|
2007-09-03 08:12:43 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-03-11 07:01:55 +01:00
|
|
|
HOMEPAGE= http://people.ne.mediaone.net/philbudne/snobol.html
|
2001-02-17 10:06:56 +01:00
|
|
|
COMMENT= Macro implementation of SNOBOL4 in C
|
2000-03-11 07:01:55 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip
|
2001-02-06 19:13:51 +01:00
|
|
|
|
2001-02-06 19:27:36 +01:00
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
2001-02-06 19:13:51 +01:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= it
|
2000-03-11 07:01:55 +01:00
|
|
|
|
2005-05-16 00:02:26 +02:00
|
|
|
USE_CONFIGURE= NO
|
2005-07-15 20:27:48 +02:00
|
|
|
USE_TOOLS+= gzip
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
2000-03-11 07:01:55 +01:00
|
|
|
|
|
|
|
do-install:
|
2001-02-06 19:13:51 +01:00
|
|
|
@${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
|
2007-01-07 10:13:46 +01:00
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/snobol4.1 ${PREFIX}/${PKGMANDIR}/man1
|
2001-02-06 19:13:51 +01:00
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/lib/snobol4
|
|
|
|
@cd ${WRKSRC} && ${INSTALL_DATA} snolib.a snolib/bq.sno \
|
2000-03-11 07:01:55 +01:00
|
|
|
${PREFIX}/lib/snobol4
|
2001-02-06 19:13:51 +01:00
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/snobol4
|
|
|
|
@cd ${WRKSRC}/doc && ${INSTALL_DATA} load.doc design.doc tutorial.gz \
|
2000-03-11 07:01:55 +01:00
|
|
|
${PREFIX}/share/doc/snobol4
|
2001-02-06 19:13:51 +01:00
|
|
|
@${ECHO} ''
|
|
|
|
@${ECHO} '***********************************************************'
|
|
|
|
@${ECHO} '* A helpful tutorial is at share/doc/snobol4/tutorial.gz *'
|
|
|
|
@${ECHO} '* within your package tree. *'
|
|
|
|
@${ECHO} '***********************************************************'
|
|
|
|
@${ECHO} ''
|
2000-03-11 07:01:55 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|