# ex:ts=8
# New ports collection makefile for:    spegla
# Date created:         Sun Apr 19 16:17:25 PDT 1998
# Whom:                 Jordan Hubbard <jkh@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	spegla
PORTVERSION=	1.1p4
PORTREVISION=	1
CATEGORIES=	ftp
MASTER_SITES=	ftp://ftp.luth.se/pub/unix/mirror/ \
		ftp://subzero.campus.luth.se/pub/spegla/

MAINTAINER=	jkh@FreeBSD.org

MANCOMPRESSED=	yes
MAN1=		spegla.1

post-extract:
.for file in engine.c regcomp.c regerror.c regexec.c regfree.c cclass.h cname.h regex.h regex2.h utils.h
	@${CP} ${WRKSRC}/regex/${file} ${WRKSRC}
.endfor

post-install:
	@${MKDIR} ${PREFIX}/share/examples/spegla
	${INSTALL_DATA} ${WRKSRC}/freebsd.org ${PREFIX}/share/examples/spegla

.include <bsd.port.mk>
