# New ports collection makefile for:    p2c
# Date created:         4 October 1994
# Whom:                 jmz
#
# $FreeBSD: ports/lang/p2c/Makefile,v 1.18 2006/01/26 20:36:12 jmz Exp $
#

PORTNAME=	p2c
PORTVERSION=	1.21a
PORTREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	http://darkstar.ist.utl.pt/slackware/slackware_source/d/p2c/ \
		http://www.slackware.at/data/slackware-10.0/source/d/p2c/
DISTFILES=	p2c-1.21alpha2.tar.gz

MAINTAINER=	jmz@FreeBSD.org
COMMENT=	Pascal to C translator

WRKSRC=		${WRKDIR}/p2c-1.21alpha-07.Dec.93
MAN1=		p2c.1 p2cc.1

pre-install: build
	@${MKDIR} ${PREFIX}/bin
	@${MKDIR} ${PREFIX}/lib
	@${MKDIR} ${PREFIX}/man/man1
	@${MKDIR} ${PREFIX}/include/p2c
	@${INSTALL_MAN} ${WRKSRC}/src/p2cc.man ${PREFIX}/man/man1/p2cc.1

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1