Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / lang / snobol / Makefile
blobfe74b01f693e7a9a63160ea0e1c3647a4013da95
1 # $NetBSD: Makefile,v 1.24 2011/04/22 23:05:26 joerg Exp $
4 DISTNAME= snobol4-1.3
5 PKGNAME= snobol-1.3
6 CATEGORIES= lang
7 MASTER_SITES= ftp://ftp.snobol4.org/snobol/ \
8 ftp://ftp.ultimate.com/snobol/
9 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} vanilla.tar.gz
11 MAINTAINER= pkgsrc-users@NetBSD.org
12 HOMEPAGE= http://www.snobol4.org/csnobol4/curr/
13 COMMENT= Macro implementation of SNOBOL4 in C
14 LICENSE= 2-clause-bsd
16 BROKEN= Distfile doesn't match
18 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
20 SUBST_CLASSES+= snobol-config
21 SUBST_STAGE.snobol-config= post-patch
22 SUBST_FILES.snobol-config= Makefile
23 SUBST_SED.snobol-config+= -e s\|M4=m4\|M4=${TOOLS_PATH.m4:Q}\|
25 HAS_CONFIGURE=yes
26 CONFIGURE_ARGS+=--prefix=${PREFIX}
27 # not yet
28 #CONFIGURE_ARGS+=--with-tcl
29 #CONFIGURE_ARGS+=--with-tk
31 BUILD_TARGET= all pv
33 USE_TOOLS+= gzip m4 unzip
34 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
35 MAKE_JOBS_SAFE= NO
37 post-build:
38 ${CP} ${WRKSRC}/doc/head ${WRKSRC}/doc/tutorial
39 unzip -d ${WRKSRC} -joqqLC ${DISTDIR}/vanilla.zip pm.exe
40 unzip -p -opaaqqLC ${WRKSRC}/pm.exe >> ${WRKSRC}/doc/tutorial
41 ${GZIP_CMD} ${WRKSRC}/doc/tutorial
43 post-install:
44 ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/snobol4
45 cd ${WRKSRC} && ${INSTALL_DATA} README \
46 ${DESTDIR}${PREFIX}/share/doc/snobol4
47 cd ${WRKSRC}/doc && ${INSTALL_DATA} load.txt design.txt tutorial.gz \
48 ${DESTDIR}${PREFIX}/share/doc/snobol4
49 @${ECHO} ''
50 @${ECHO} '***********************************************************'
51 @${ECHO} '* A helpful tutorial is at share/doc/snobol4/tutorial.gz *'
52 @${ECHO} '* within your package tree. *'
53 @${ECHO} '***********************************************************'
54 @${ECHO} ''
56 .include "../../mk/bsd.pkg.mk"