5542206cba
pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
43 lines
1.5 KiB
Makefile
43 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2001/11/29 01:12:39 hubertf Exp $
|
|
#
|
|
|
|
DISTNAME= snobol-0.99.4
|
|
PKGREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.snobol4.com/ \
|
|
ftp://alpha.gnu.org/budne/snobol/
|
|
DISTFILES= vanilla.zip ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= refling@comet.lbl.gov
|
|
HOMEPAGE= http://people.ne.mediaone.net/philbudne/snobol.html
|
|
COMMENT= Macro implementation of SNOBOL4 in C
|
|
|
|
BUILD_DEPENDS= unzip-[0-9]*:../../archivers/unzip
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
ALL_TARGET= it
|
|
|
|
USE_CONFIGURE= NO
|
|
|
|
do-install:
|
|
@${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 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"
|