head	1.29;
access;
symbols
	RELEASE_8_3_0:1.27
	RELEASE_9_0_0:1.27
	RELEASE_7_4_0:1.27
	RELEASE_8_2_0:1.27
	RELEASE_6_EOL:1.27
	RELEASE_8_1_0:1.27
	RELEASE_7_3_0:1.26
	RELEASE_8_0_0:1.26
	RELEASE_7_2_0:1.26
	RELEASE_7_1_0:1.26
	RELEASE_6_4_0:1.26
	RELEASE_5_EOL:1.26
	RELEASE_7_0_0:1.25
	RELEASE_6_3_0:1.25
	PRE_XORG_7:1.23
	RELEASE_4_EOL:1.23
	RELEASE_6_2_0:1.23
	RELEASE_6_1_0:1.23
	RELEASE_5_5_0:1.23
	RELEASE_6_0_0:1.23
	RELEASE_5_4_0:1.20
	RELEASE_4_11_0:1.20
	RELEASE_5_3_0:1.20
	RELEASE_4_10_0:1.20
	RELEASE_5_2_1:1.18
	RELEASE_5_2_0:1.18
	RELEASE_4_9_0:1.16
	RELEASE_5_1_0:1.16
	RELEASE_4_8_0:1.16
	RELEASE_5_0_0:1.15
	RELEASE_4_7_0:1.13
	RELEASE_4_6_2:1.13
	RELEASE_4_6_1:1.13
	RELEASE_4_6_0:1.13
	RELEASE_5_0_DP1:1.13
	RELEASE_4_5_0:1.13
	RELEASE_4_4_0:1.13
	RELEASE_4_3_0:1.13
	RELEASE_4_2_0:1.13
	RELEASE_4_1_1:1.12
	RELEASE_4_1_0:1.12
	RELEASE_3_5_0:1.12
	RELEASE_4_0_0:1.10
	RELEASE_3_4_0:1.9
	RELEASE_3_3_0:1.9
	RELEASE_3_2_0:1.8
	RELEASE_3_1_0:1.6
	RELEASE_2_2_8:1.6
	RELEASE_3_0_0:1.5
	RELEASE_2_2_7:1.2
	ptoc_2_01:1.1.1.1
	ANDY:1.1.1;
locks; strict;
comment	@# @;


1.29
date	2013.03.08.21.56.28;	author svnexp;	state Exp;
branches;
next	1.28;

1.28
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.27;

1.27
date	2010.05.20.14.58.15;	author osa;	state Exp;
branches;
next	1.26;

1.26
date	2008.03.24.23.21.09;	author miwi;	state Exp;
branches;
next	1.25;

1.25
date	2007.10.17.10.12.45;	author ade;	state Exp;
branches;
next	1.24;

1.24
date	2007.05.19.20.13.52;	author flz;	state Exp;
branches;
next	1.23;

1.23
date	2005.05.31.08.09.10;	author osa;	state Exp;
branches;
next	1.22;

1.22
date	2005.05.31.02.13.50;	author kris;	state Exp;
branches;
next	1.21;

1.21
date	2005.04.25.10.24.15;	author osa;	state Exp;
branches;
next	1.20;

1.20
date	2004.03.01.14.31.54;	author osa;	state Exp;
branches;
next	1.19;

1.19
date	2004.02.04.05.21.42;	author marcus;	state Exp;
branches;
next	1.18;

1.18
date	2003.11.04.12.04.00;	author osa;	state Exp;
branches;
next	1.17;

1.17
date	2003.09.24.13.32.25;	author osa;	state Exp;
branches;
next	1.16;

1.16
date	2003.02.20.18.38.00;	author knu;	state Exp;
branches;
next	1.15;

1.15
date	2002.11.07.03.10.53;	author adamw;	state Exp;
branches;
next	1.14;

1.14
date	2002.11.06.22.45.51;	author adamw;	state Exp;
branches;
next	1.13;

1.13
date	2000.10.24.16.11.52;	author kevlo;	state Exp;
branches;
next	1.12;

1.12
date	2000.04.12.06.20.05;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	2000.03.29.07.18.32;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2000.02.12.20.54.52;	author cpiazza;	state Exp;
branches;
next	1.9;

1.9
date	99.08.25.06.35.15;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	99.02.28.04.46.59;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	99.02.22.04.02.44;	author steve;	state Exp;
branches;
next	1.6;

1.6
date	98.11.09.01.21.38;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	98.10.14.23.56.40;	author jseger;	state Exp;
branches;
next	1.4;

1.4
date	98.10.14.03.44.43;	author jseger;	state Exp;
branches;
next	1.3;

1.3
date	98.07.25.09.41.11;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	98.03.28.19.37.51;	author asami;	state Exp;
branches;
next	1.1;

1.1
date	98.03.27.10.51.22;	author tg;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.03.27.10.51.22;	author tg;	state Exp;
branches;
next	;


desc
@@


1.29
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313635
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Andrey Zakhvatov
# $FreeBSD: head/lang/ptoc/Makefile 313635 2013-03-08 11:32:11Z bapt $

PORTNAME=	ptoc
PORTVERSION=	3.58
CATEGORIES=	lang
MASTER_SITES=	http://www.garret.ru/

MAINTAINER=	osa@@FreeBSD.org
COMMENT=	ANSI/Turbo Pascal to C/C++ converter

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_XORG=	x11
USES=		bison

EXAMPLES=	arr.pas bgidemo.pas ccall.pas coord.txt dos.h dos.pas \
		func.pas hello.pas impact.pas lister.pas makefile.bsd \
		nested.pas objpas.pas polut2.pas printer.pas q2.txt \
		random.txt rename.cxx rename.pas set.pas str.pas test.c \
		test.cxx test.pas test.txt tpascal.pas trinor.pas \
		vibrkinp.pas vibrkinp.txt vibrtabl.pas war2.pas war2.txt \
		xy2.txt xy2orig.txt

pre-build:
	@@${LN} -sf makefile.bsd ${WRKSRC}/Makefile
	@@${LN} -sf makefile.bsd ${WRKSRC}/Xbgi/Makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/cganal ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/ptoc ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/ptoc.cfg ${PREFIX}/etc
	${INSTALL_DATA} ${WRKSRC}/libptoc.a ${PREFIX}/lib
	${INSTALL_DATA} ${WRKSRC}/libXbgi.a ${PREFIX}/lib
	@@${MKDIR} ${PREFIX}/include/ptoc
.for f in array.h graph.h io.h paslib.h ptoc.h set.h
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/include/ptoc
.endfor
	@@${MKDIR} ${DATADIR}
.for f in graph.pas ptoc.pas tptoc.pas
	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
.endfor
	@@${MKDIR} ${EXAMPLESDIR}
.for f in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
.endfor
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/Readme.htm ${DOCSDIR}
.endif

.include <bsd.port.mk>
@


1.28
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	ptoc
# Date created:				10 December 1997
# Whom:					Andrey Zakhvatov
#
# $FreeBSD: head/lang/ptoc/Makefile 300896 2012-07-14 13:54:48Z beat $
#
d15 1
a15 1
USE_BISON=	build
@


1.27
log
@Update from 3.56 to 3.58.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.26
log
@- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
@
text
@d9 1
a9 2
PORTVERSION=	3.56
PORTREVISION=	2
d11 1
a11 1
MASTER_SITES=	http://www.garret.ru/~knizhnik/
@


1.25
log
@Migration from bison 1.x to 2.x

PR:		117086
Tested by:	-exp runs
@
text
@d19 1
a19 1
USE_XLIB=	yes
@


1.24
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	1
d20 1
a20 1
USE_BISON=	yes
@


1.23
log
@Remove BROKEN.

Author rerolled tarball after bug report and small modification.
Changes:
--- old/ptoc/bring.h    Tue Feb 24 21:40:02 2004
+++ new/ptoc/bring.h    Sun May 15 00:40:19 2005
@@@@ -69,9 +69,11 @@@@
     static b_ring *top_b_ring;

     static void push(b_ring* r) {
+       /*
         if (r->outer != NULL) {
             r = new b_ring(r->scope);
         }
+       */
         r->outer = curr_b_ring;
         curr_b_ring = r;
     }
@
text
@d10 1
@


1.22
log
@BROKEN: Size mismatch
@
text
@a17 2
BROKEN=		Size mismatch

@


1.21
log
@Update to 3.56.
@
text
@d18 2
@


1.20
log
@Update to 3.55.
@
text
@d9 1
a9 1
PORTVERSION=	3.55
@


1.19
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 2)
@
text
@d9 1
a9 2
PORTVERSION=	3.54
PORTREVISION=	1
@


1.18
log
@Make portlint(1) happy.
@
text
@d10 1
@


1.17
log
@Update to 3.54.
Utilize ${DOCSDIR} and ${EXAMPLESDIR}.
Use new name schema for patch files.
Fix ${MASTER_SITES} and home page URL.
Take maintainership.
@
text
@d40 2
a41 2
.for file in array.h graph.h io.h paslib.h ptoc.h set.h
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/ptoc
d44 2
a45 2
.for file in graph.pas ptoc.pas tptoc.pas
	${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
d48 2
a49 2
.for file in ${EXAMPLES}
	${INSTALL_DATA} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
@


1.16
log
@De-pkg-comment.
@
text
@d9 1
a9 1
PORTVERSION=	3.50
d11 1
a11 1
MASTER_SITES=	http://www.ispras.ru/~knizhnik/
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
d43 1
a43 1
	@@${MKDIR} ${PREFIX}/share/ptoc
d45 1
a45 1
	${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/ptoc
d47 1
a47 1
	@@${MKDIR} ${PREFIX}/share/examples/ptoc
d49 1
a49 1
	${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/ptoc
d52 2
a53 2
	@@${MKDIR} ${PREFIX}/share/doc/ptoc
	${INSTALL_DATA} ${WRKSRC}/Readme.htm ${PREFIX}/share/doc/ptoc
@


1.15
log
@Fix PORTCOMMENTs that were killing INDEX builds.

105 pointy hats to:	me
Approved by:		pat
@
text
@d14 1
@


1.14
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a14 2
PORTCOMMENT=	ANSI/Turbo Pascal to C/C++ converter

@


1.13
log
@Upgrade to version 3.50

PR: 22253
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ptoc/Makefile,v 1.12 2000/04/12 06:20:05 obrien Exp $
d14 2
@


1.12
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/ptoc/Makefile,v 1.11 2000/03/29 07:18:32 kris Exp $
d8 19
a26 13
PORTNAME=		ptoc
PORTVERSION=		3.41
CATEGORIES=		lang
MASTER_SITES=		ftp://ftp.netsw.org/netsw/SoftEng/Lang/Pascal/ \
			ftp://ftp.u-aizu.ac.jp/pub/lang/netsw/Pascal/ \
			ftp://ftp.ecrc.net/pub/netsw/SoftEng/Lang/Pascal/

MAINTAINER=		ports@@FreeBSD.org

MAKEFILE=		makefile

USE_XLIB=		yes
WRKSRC=			${WRKDIR}/ptoc
d29 2
a30 3
	@@ ${MV} ${WRKSRC}/makefile.bsd ${WRKSRC}/makefile
	@@ ${MV} ${WRKSRC}/Xbgi/makefile.bsd ${WRKSRC}/Xbgi/makefile
	@@ ${MV} ${WRKSRC}/examples/makefile.bsd ${WRKSRC}/examples/makefile
d33 6
a38 6
	@@ ${INSTALL_PROGRAM} ${WRKSRC}/cganal ${PREFIX}/bin
	@@ ${INSTALL_PROGRAM} ${WRKSRC}/ptoc ${PREFIX}/bin
	@@ ${INSTALL_DATA} ${WRKSRC}/ptoc.cfg ${PREFIX}/etc
	@@ ${INSTALL_DATA} ${WRKSRC}/libptoc.a ${PREFIX}/lib
	@@ ${INSTALL_DATA} ${WRKSRC}/libXbgi.a ${PREFIX}/lib
	@@ ${MKDIR} ${PREFIX}/include/ptoc
d40 1
a40 1
	@@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/include/ptoc
d42 1
a42 1
	@@ ${MKDIR} ${PREFIX}/share/ptoc
d44 1
a44 1
	@@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/ptoc
d46 3
a48 4
	@@ ${MKDIR} ${PREFIX}/share/examples/ptoc
	@@ ${INSTALL_DATA} ${WRKSRC}/examples/makefile ${PREFIX}/share/examples/ptoc/Makefile
.for file in bgidemo.pas coord.txt hello.pas impact.pas lister.pas polut2.pas printer.pas q2.txt random.txt rename.pas set.pas test.pas tpascal.pas trinor.pas vibrkinp.pas vibrkinp.txt vibrtabl.pas war2.pas war2.txt xy2orig.txt
	@@ ${INSTALL_DATA} ${WRKSRC}/examples/${file} ${PREFIX}/share/examples/ptoc
a49 2

post-install:
d51 2
a52 2
	@@ ${MKDIR} ${PREFIX}/share/doc/ptoc
	@@ ${INSTALL_DATA} ${WRKSRC}/Readme.htm ${PREFIX}/share/doc/ptoc
@


1.11
log
@Remove andy@@icc.surw.chel.su as maintainer from his ports..he doesn't
have time to maintain them.

Approved by:	andy
@
text
@a1 1
# Version required:			3.41
d5 1
a5 1
# $FreeBSD: ports/lang/ptoc/Makefile,v 1.10 2000/02/12 20:54:52 cpiazza Exp $
d8 2
a9 1
DISTNAME=		ptoc-3.41
@


1.10
log
@Fix for NEWGCC and add a new MASTER_SITE

Submitted by:	Alexander Langer <alex@@big.endian.de>
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/ptoc/Makefile,v 1.9 1999/08/25 06:35:15 obrien Exp $
d15 1
a15 1
MAINTAINER=		andy@@icc.surw.chel.su
@


1.9
log
@Change Id->FreeBSD.
@
text
@d6 1
a6 1
# $FreeBSD$
d11 3
a13 3
MASTER_SITES=		${MASTER_SITE_SUNSITE} \
			http://www.ispras.ru/~knizhnik/
MASTER_SITE_SUBDIR=	devel/lang/pascal
a15 2

BROKEN= 'ptoc_3.34.tar.gz is all that is on the distsite'
@


1.8
log
@Mark BROKEN.  Distfile is missing.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1999/02/22 04:02:44 steve Exp $
@


1.7
log
@Update to version 3.41.

PR:		10074
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1998/11/09 01:21:38 steve Exp $
d16 2
@


1.6
log
@Update to version 3.34.

PR:		8551
Submitted by:	maintainer
@
text
@d2 1
a2 1
# Version required:			3.34
d6 1
a6 1
# $Id: Makefile,v 1.5 1998/10/14 23:56:40 jseger Exp $
d9 1
a9 2
DISTNAME=		ptoc_3.34
PKGNAME=		ptoc-3.34
d11 2
a12 1
MASTER_SITES=		${MASTER_SITE_SUNSITE}
d22 5
d46 2
@


1.5
log
@Unbreak.
Submitted by:	steve
@
text
@d2 1
a2 1
# Version required:			2.01
d6 1
a6 1
# $Id: Makefile,v 1.4 1998/10/14 03:44:43 jseger Exp $
d9 2
a10 2
DISTNAME=		ptoc
PKGNAME=		ptoc-2.01
a13 1
EXTRACT_SUFX=		.tgz
d19 2
a20 5
USE_GMAKE=		yes

pre-build:
	@@ ${RM} ${WRKSRC}/libXbgi.a
	@@ ${RM} ${WRKSRC}/libptoc.a
d33 1
a33 1
.for file in ptoc.pas tptoc.pas graph.pas
a35 3
	@@ ${MKDIR} ${PREFIX}/share/doc/ptoc
	@@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ptoc
	@@ ${INSTALL_DATA} ${WRKSRC}/paslib.doc ${PREFIX}/share/doc/ptoc
d37 2
a38 2
	@@ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/ptoc
.for file in bgidemo.pas coord.txt hello.pas impact.pas lister.pas polut2.pas printer.pas q2.txt random.txt rename.pas set.pas test.pas tpascal.pas trinor.pas vibrkinp.pas vibrkinp.txt vibrtabl.pas war2.pas xy2orig.txt
d41 4
@


1.4
log
@Mark BROKEN for ELF:
===>  Installing for ptoc-2.01
install: /usr/ports/lang/ptoc/work/ptoc/libXbgi.a: No such file or directory
*** Error code 71

Stop.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1998/07/25 09:41:11 asami Exp $
d20 1
a20 1
BROKEN_ELF=	libXbgi.a
@


1.3
log
@Change category to "lang" only.  This is pretty much a pascal
compiler and nothing else.

Yelled out by:	hoek
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1998/03/28 19:37:51 asami Exp $
d19 2
@


1.2
log
@No need to define WRKSRC if it is equal to ${WRKDIR}/${DISTNAME}.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1998/03/27 10:51:22 tg Exp $
d11 1
a11 1
CATEGORIES=		devel converters x11
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
a17 1
WRKSRC=			${WRKDIR}/ptoc
@


1.1.1.1
log
@Import of ptoc port. ptoc is another Pascal to C translator. It comes
with an X implementation of the BGI.

PR:		5270
Submitted by:	Andrey Zakhvatov <andy@@icc.surw.chel.su>
@
text
@@
