head	1.22;
access;
symbols
	RELEASE_7_4_0:1.20
	RELEASE_8_2_0:1.20
	RELEASE_6_EOL:1.19
	RELEASE_8_1_0:1.18
	RELEASE_7_3_0:1.17
	RELEASE_8_0_0:1.17
	RELEASE_7_2_0:1.17
	RELEASE_7_1_0:1.16
	RELEASE_6_4_0:1.16
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.16
	RELEASE_6_3_0:1.16
	PRE_XORG_7:1.15
	RELEASE_4_EOL:1.15
	RELEASE_6_2_0:1.15
	RELEASE_4_8_0:1.7
	RELEASE_5_0_0:1.6
	RELEASE_4_7_0:1.6
	RELEASE_4_6_2:1.6
	RELEASE_4_6_1:1.6
	RELEASE_4_6_0:1.6
	RELEASE_5_0_DP1:1.5
	RELEASE_4_5_0:1.5
	RELEASE_4_4_0:1.5
	RELEASE_4_3_0:1.4
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1;
locks; strict;
comment	@# @;


1.22
date	2011.04.12.18.10.33;	author rene;	state dead;
branches;
next	1.21;

1.21
date	2011.02.27.04.54.39;	author tabthorpe;	state Exp;
branches;
next	1.20;

1.20
date	2011.01.06.19.11.41;	author alepulver;	state Exp;
branches;
next	1.19;

1.19
date	2010.10.11.03.33.17;	author alepulver;	state Exp;
branches;
next	1.18;

1.18
date	2010.06.03.05.38.48;	author linimon;	state Exp;
branches;
next	1.17;

1.17
date	2009.02.06.00.00.40;	author alepulver;	state Exp;
branches;
next	1.16;

1.16
date	2007.10.17.10.12.43;	author ade;	state Exp;
branches;
next	1.15;

1.15
date	2006.10.20.20.00.36;	author alepulver;	state Exp;
branches;
next	1.14;

1.14
date	2006.09.10.23.33.50;	author kris;	state Exp;
branches;
next	1.13;

1.13
date	2006.07.29.17.17.05;	author alepulver;	state Exp;
branches;
next	1.12;

1.12
date	2006.07.28.20.39.54;	author alepulver;	state Exp;
branches;
next	1.11;

1.11
date	2006.07.28.20.37.08;	author alepulver;	state Exp;
branches;
next	1.10;

1.10
date	2006.07.07.19.27.55;	author alepulver;	state Exp;
branches;
next	1.9;

1.9
date	2006.07.03.00.24.09;	author alepulver;	state Exp;
branches;
next	1.8;

1.8
date	2003.05.06.03.49.00;	author kris;	state dead;
branches;
next	1.7;

1.7
date	2003.02.21.12.35.03;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2002.05.20.01.44.54;	author kris;	state Exp;
branches;
next	1.5;

1.5
date	2001.05.31.22.22.52;	author ade;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.10.14.02.24;	author sf;	state Exp;
branches;
next	1.3;

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

1.2
date	2000.10.09.15.36.59;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2000.05.29.03.05.50;	author will;	state Exp;
branches;
next	;


desc
@@


1.22
log
@Remove expired ports:
2011-04-11 lang/gpc: development has ceased; use lang/fpc instead
2011-04-11 security/mypasswordsafe: development has ceased; try security/gorilla instead
@
text
@# New ports collection makefile for:	gpc
# Date created:				28 Jun 2006
# Whom:					alepulver
#
# $FreeBSD: ports/lang/gpc/Makefile,v 1.21 2011/02/27 04:54:39 tabthorpe Exp $
#

PORTNAME=	gpc
PORTVERSION=	20060325
PORTREVISION=	2
CATEGORIES=	lang
MASTER_SITES=	http://www.gnu-pascal.de/alpha/:gpc \
		${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR=	releases/gcc-${GCC_VER}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:gpc \
		gcc-core-${GCC_VER}${EXTRACT_SUFX}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	GNU Pascal compiler

BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
		gsed:${PORTSDIR}/textproc/gsed \
		help2man:${PORTSDIR}/misc/help2man

DEPRECATED=	development has ceased; use lang/fpc instead
EXPIRATION_DATE=	2011-04-11

LICENSE=	GPLv2

USE_BISON=	build
USE_BZIP2=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=--disable-nls \
		--enable-languages=pascal \
		--with-system-zlib \
		--with-libiconv-prefix=${LOCALBASE} \
		--libdir=${PREFIX}/lib/${PORTNAME} \
		--libexecdir=${PREFIX}/libexec/${PORTNAME}

WRKSRC=		${WRKDIR}/gcc-${GCC_VER}
INSTALL_WRKSRC=	${WRKSRC}/gcc
INSTALL_TARGET=	pascal.install-with-gcc

MAN1=		binobj.1 gpc.1 gpc-run.1 gpidump.1
INFO=		gpc gpcs gpcs-de gpcs-es gpcs-hr

PLIST_SUB=	GCC_VER="${GCC_VER}" GNU_HOST="${CONFIGURE_TARGET}"

# This port can be compiled with GCC versions 2.8.1 to 2.95 and 3.2 to 3.4.4.
GCC_VER?=	3.4.4

.include <bsd.port.pre.mk>

.if ${ARCH} == "amd64"
CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
.endif

.if ${ARCH} == "ia64" || ${ARCH} == "sparc64"
PLIST_SUB+=	CFM=""
.else
PLIST_SUB+=	CFM="@@comment "
.endif

.if ${ARCH} == "powerpc"
BROKEN=		Fails to deinstall on powerpc: leaves files behind
.endif

post-extract:
	@@${MV} ${WRKDIR}/${DISTNAME}/p ${WRKSRC}/gcc

post-patch:
	@@${REINPLACE_CMD} -e 's|read junk||' ${WRKSRC}/gcc/p/config-lang.in
	@@${REINPLACE_CMD} -e 's|sed -|gsed -|' ${WRKSRC}/gcc/p/utils/mk-t-inc
	@@${REINPLACE_CMD} -Ee \
		's|^(P_DOC_DIR=).*|\1${DOCSDIR:S/${PREFIX}\///}|' \
		${WRKSRC}/gcc/p/Make-lang.in
.if defined(NOPORTDOCS)
	@@${REINPLACE_CMD} -e 's|^\(PASCAL_INSTALL_DOC=\).*|\1|; \
	    s|$$(p_inst_docdir) $$(p_inst_demodir) $$(p_inst_docdemodir)||' \
	    ${WRKSRC}/gcc/p/Make-lang.in
.endif

post-install:
	@@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}

.include <bsd.port.post.mk>
@


1.21
log
@- Reassign ports to heap

Submitted by:	alepulver
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.20
log
@- Update to use a newer gcc as base, this reduced the size of the patches.

PR:		153687
Submitted by:	Pedro Giffuni <giffunip@@tutopia.com>
@
text
@d18 1
a18 1
MAINTAINER=	alepulver@@FreeBSD.org
@


1.19
log
@- Set DEPRECATED and EXPIRATION_DATE to about six months from now (last
  release is from 2006, and lang/fpc is a viable replacement).
@
text
@d10 1
a10 1
PORTREVISION=	1
d28 2
d50 2
a51 2
# This port can be compiled with GCC versions 2.8.1 to 2.95 and 3.2 to 3.4.3.
GCC_VER?=	3.4.3
@


1.18
log
@Mark as broken on powerpc: leaves files behind on deinstall.

Hat:		portmgr
@
text
@d25 3
@


1.17
log
@- Respect NOPORTDOCS.
@
text
@d60 4
@


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

PR:		117086
Tested by:	-exp runs
@
text
@d70 3
a72 2
	@@${REINPLACE_CMD} -Ee 's|^(PASCAL_INSTALL_DOC=).*|\1|' \
		${WRKSRC}/gcc/p/Make-lang.in
@


1.15
log
@- Fix building on FreeBSD 7.x.
- Fix plist on ia64/sparc64 (additional file installed).

Reported by:	pointyhat
Approved by:	portmgr (erwin)
@
text
@d10 1
d25 1
a25 1
USE_BISON=	yes
@


1.14
log
@BROKEN on 7.0: Does not compile
@
text
@d53 4
a56 2
.if ${OSVERSION} >= 700019
BROKEN=		does not compile on FreeBSD >= 7.0
@


1.13
log
@- Update to version 20060325.
- Don't reinstall system headers (causes pkg-plist changes between different
  FreeBSD versions).
@
text
@d53 4
@


1.12
log
@- Forgot to bump PORTREVISION because of the changes in the last commit.
@
text
@d9 1
a9 2
PORTVERSION=	20050331
PORTREVISION=	1
d21 1
d54 1
a54 1
	@@${MV} ${WRKDIR}/p ${WRKSRC}/gcc
d58 4
a61 2
	@@${REINPLACE_CMD} -Ee 's|^(sed=)"`.*`"|\1sed|' \
		${WRKSRC}/gcc/p/script/extract-doc-demos
a64 4
.else
	@@${REINPLACE_CMD} -Ee \
		's|^(P_DOC_DIR=).*|\1${DOCSDIR:S/${PREFIX}\///}|' \
		${WRKSRC}/gcc/p/Make-lang.in
@


1.11
log
@- Fix building on FreeBSD 7.x [1].
- Install GCC utilities needed by GPC (doesn't work if base system GCC isn't
  the same as the one used to build GPC) [2].
- Don' change the default GCC installation directory hierarchy, but avoid
  possible conflicts with other GCC compilers by prepending a "gpc" directory
  after ${PREFIX}.

Reported by:	linimon [1], "L. S. Colby" <ls.colby@@gwirynybyd.com> [2]
@
text
@d10 1
@


1.10
log
@- Fix fetch problems (wrong subdirectory for MASTER_SITE_GCC).
@
text
@d12 2
a13 1
		${MASTER_SITE_GCC:S|$|releases/gcc-${GCC_VERSION}/|}
d15 1
a15 1
		gcc-core-${GCC_VERSION}${EXTRACT_SUFX}
a25 1
#USE_PERL5_BUILD=yes
d27 8
a34 2
CONFIGURE_ARGS+=--disable-nls --enable-languages=pascal
WRKSRC=		${WRKDIR}/gcc-${GCC_VERSION}
d36 1
a36 1
INSTALL_TARGET=	pascal.install
d41 4
a44 2
# This port can be compiled with the GCC versions 2.8.1-2.95 and 3.2-3.4.3.
GCC_VERSION?=	3.4.3
d56 1
a56 7
	@@${REINPLACE_CMD} -Ee \
		's|^(lib(exec)?subdir =).*|\1 $$\(lib\2dir\)/gpc|; \
		 s|(\$$\(lib(exec)?dir\))/gcc|\1/gpc|; \
		 s|(-DDEFAULT_TARGET_(VERSION\|MACHINE)=\\").*(\\")|\1\3|' \
		${WRKSRC}/Makefile.in ${WRKSRC}/gcc/Makefile.in
	@@${REINPLACE_CMD} -e 's|read junk||' \
		${WRKSRC}/gcc/p/config-lang.in
d63 2
a64 1
	@@${REINPLACE_CMD} -Ee 's|^(P_DOC_DIR=).*|\1${DOCSDIR:S/${PREFIX}\///}|' \
a68 1
	${INSTALL_DATA} ${WRKSRC}/gcc/libgcc_eh.a ${PREFIX}/lib/gpc
@


1.9
log
@The GNU Pascal Compiler (GPC) is, as the name says, the Pascal compiler of the
GNU family.

WWW: http://www.gnu-pascal.de/
@
text
@d12 1
a12 1
		${MASTER_SITE_GCC}
@


1.8
log
@As announced on 27 March 2003 in <20030328052350.GA18971@@rot13.obsecurity.org>,
remove these ports that have been broken for >4 months (in many cases much
longer) with no sign of a fix.
@
text
@d1 5
a5 3
# Ports collection makefile for:	gpc
# Date created:				January 27, 1999
# Whom:					Berend de Boer <berend@@pobox.com>
a6 1
# $FreeBSD: ports/lang/gpc/Makefile,v 1.7 2003/02/21 12:35:03 knu Exp $
d9 1
a9 2
PORTVERSION=	2.0
PORTREVISION=	1
d11 4
a14 5
MASTER_SITES=	ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/
DISTNAME=	gpc-19990118

MAINTAINER=	antonz@@library.ntu-kpi.kiev.ua
COMMENT=	A free 32-bit Pascal compiler
d16 2
a17 1
BROKEN=		"Does not package correctly"
d19 2
a20 1
BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/lang/gcc28:patch
d22 2
a23 3
WRKSRC=		${WRKDIR}/gpc
MAKE_ARGS=	LANGUAGES=pascal
USE_AUTOCONF=	yes
d25 5
a29 1
ALL_TARGET=	bootstrap
d32 5
a36 2
MAN1=		gpc.1
MLINKS=		gpc.1 bpc.1 gpc.1 epc.1 gpc.1 pc.1
d40 3
a42 4
GNUHOST=	${ARCH}--freebsd${OSREL}

PLIST_SUB=	GNUHOST=${GNUHOST}
CONFIGURE_ARGS=	--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${GNUHOST}/2.8.1/include/g++
d45 1
a45 1
	@@(${CP} -R ${WRKDIRPREFIX}${.CURDIR}/../../lang/gcc28/work/gcc-2.8.1/* ${WRKSRC})
d47 17
a63 2
pre-install:
	@@${RM} -f ${WRKSRC}/p/doc/gpc.info*
d66 2
a67 1
	install-info ${PREFIX}/info/gpc.info ${PREFIX}/info/dir
@


1.7
log
@De-pkg-comment.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@BROKEN: DOes not package correctly
@
text
@d15 1
@


1.5
log
@Replace last remnants of "nonexistent", "/nonexistent" etc. with
${NONEXISTENT} as per bsd.port.mk
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/gpc/Makefile,v 1.4 2001/01/10 14:02:24 sf Exp $
d15 2
@


1.4
log
@add missing manpages.
install unified info.

non-responce from: maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/gpc/Makefile,v 1.3 2000/11/14 13:38:38 asami Exp $
d16 1
a16 1
BUILD_DEPENDS=	nonexistent:${PORTSDIR}/lang/gcc28:patch
@


1.3
log
@WRKDIR of lang/gcc28 should be accessed through ${.CURDIR}/../../lang/gcc28,
not ${PORTSDIR}/lang/gcc28, since ${PORTSDIR} might be a symlink.

Submitted by:	bento
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/gpc/Makefile,v 1.2 2000/10/09 15:36:59 lioux Exp $
d9 1
d26 1
d37 6
@


1.2
log
@MASTER_SITES update

Submitted by: maintainer <antonz@@library.ntu-kpi.kiev.ua>

PR: 21853
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/gpc/Makefile,v 1.1 2000/05/29 03:05:50 will Exp $
d34 1
a34 1
	@@(${CP} -R ${WRKDIRPREFIX}${PORTSDIR}/lang/gcc28/work/gcc-2.8.1/* ${WRKSRC})
@


1.1
log
@Add GPC - GNU Pascal Compiler.  Finally we have a Pascal compiler in the
ports collection!  :-)

PR:			17578
Submitted by:		Anton N. Breusov <antonz@@library.ntu-kpi.kiev.ua>
No objections from:	asami, obrien
@
text
@d5 1
a5 1
# $FreeBSD$
d10 1
a10 1
MASTER_SITES=	ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/current/
@

