head	1.6;
access;
symbols
	RELEASE_6_1_0:1.4
	RELEASE_5_5_0:1.4
	RELEASE_6_0_0:1.3
	RELEASE_5_4_0:1.3
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.6
date	2006.07.24.12.17.43;	author acm;	state dead;
branches;
next	1.5;

1.5
date	2006.06.21.16.52.57;	author garga;	state Exp;
branches;
next	1.4;

1.4
date	2005.11.24.01.18.44;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2005.02.13.18.28.19;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2004.05.29.16.36.56;	author krion;	state Exp;
branches;
next	1.1;

1.1
date	2004.04.12.21.57.15;	author thierry;	state Exp;
branches;
next	;


desc
@@


1.6
log
@- Removed lang/fpc-demo

Approved by:	garga (mentor)
@
text
@# New ports collection makefile for:	Free Pascal Examples
# Date created: 			9 February 2004
# Whom: 				John Merryweather Cooper
#
# $FreeBSD: ports/lang/fpc-demo/Makefile,v 1.5 2006/06/21 16:52:57 garga Exp $
#

PORTNAME=	demo
PORTVERSION=	2.0.2
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
		ftp://planetmirror.com/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
		ftp://ftp.jp.freepascal.org/mirror/fpc/dist/i386-freebsd-${PORTVERSION}/ \
		ftp://freepascal.stack.nl/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
		ftp://ftp.no.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
		ftp://ftp.us.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	freepascal
PKGNAMEPREFIX=	fpc-
DISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
EXTRACT_SUFX=	.tar

MAINTAINER=	acardenas@@bsd.org.pe
COMMENT=	Free Pascal compiler examples

DEMODIR=	share/doc/${PKGNAMEPREFIX}${PORTVERSION}/${PORTNAME}
NO_BUILD=	yes

BUILDNAME=	i386-freebsd
PLIST_SUB+=	PORTVERSION=${PORTVERSION} \
		DEMODIR=${DEMODIR}
SUB_LIST+=	DEMODIR=${DEMODIR}
SUB_FILES=	pkg-message

do-extract:
# unpack distribution
	@@${MKDIR} ${WRKSRC}
	@@${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
		--directory ${WRKSRC}
	@@${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
		--directory ${WRKSRC}

# unpack binary and demo distribution
	@@${MKDIR} ${WRKSRC}/${PORTNAME}
	@@${TAR} zxf ${WRKSRC}/demo.tar.gz \
		--directory ${WRKSRC}/${PORTNAME}

do-install:
	@@cd ${WRKSRC}/${PORTNAME}/share && \
		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;

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

.include <bsd.port.mk>
@


1.5
log
@- Update fpc to 2.0.2

PR:		98628, 98629, 98630, 98632, 98641, 98646, 98650, 98652,
		98654, 98656, 98657, 98658, 98720, 98724
Submitted by:	Jose Alonso Cardenas Marquez <acardenas@@bsd.org.pe>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@- Remove dead MASTER_SITES
@
text
@d9 1
a9 1
PORTVERSION=	1.0.10
d11 7
a17 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
d20 1
a20 1
DISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}.ELF
d23 1
a23 1
MAINTAINER=	ports@@FreeBSD.org
d26 1
a26 1
EXAMPLESDIR=	${PREFIX}/share/examples/fpc
d29 5
a33 8
SRCDOCDIR=	${WRKSRC}/share/doc/fpc-${PORTVERSION}/demo

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 470000
EXTRACT_DEPENDS+=	gtar:${PORTSDIR}/archivers/gtar
TAR=			${LOCALBASE}/bin/gtar
.endif
d38 9
a46 3
	@@${TAR} xf ${DISTDIR}/${DISTNAME}.tar --directory ${WRKSRC}
# unpack docs distribution
	@@${TAR} zxf ${WRKSRC}/demo.tar.gz --directory ${WRKSRC}
d49 6
a54 25
	@@${MKDIR} ${EXAMPLESDIR}
	cd ${SRCDOCDIR}/ && \
		${INSTALL_DATA} Makefile Makefile.fpc fpcdemos.txt \
		${EXAMPLESDIR}
	@@${MKDIR} ${EXAMPLESDIR}/graph
	@@${INSTALL_DATA} `${LS} ${SRCDOCDIR}/graph/*` \
		${EXAMPLESDIR}/graph
	@@${MKDIR} ${EXAMPLESDIR}/linux
	@@${INSTALL_DATA} `${LS} ${SRCDOCDIR}/linux/*` \
		${EXAMPLESDIR}/linux
	@@${MKDIR} ${EXAMPLESDIR}/modex
	@@${INSTALL_DATA} `${LS} ${SRCDOCDIR}/modex/*` \
		${EXAMPLESDIR}/modex
	@@${MKDIR} ${EXAMPLESDIR}/os2
	@@${INSTALL_DATA} `${LS} ${SRCDOCDIR}/os2/*` \
		${EXAMPLESDIR}/os2
	@@${MKDIR} ${EXAMPLESDIR}/palmos
	@@${INSTALL_DATA} `${LS} ${SRCDOCDIR}/palmos/*` \
		${EXAMPLESDIR}/palmos
	@@${MKDIR} ${EXAMPLESDIR}/text
	@@${INSTALL_DATA} `${LS} ${SRCDOCDIR}/text/*` \
		${EXAMPLESDIR}/text
	@@${MKDIR} ${EXAMPLESDIR}/win32
	@@${INSTALL_DATA} `${LS} ${SRCDOCDIR}/win32/*` \
		${EXAMPLESDIR}/win32
d56 1
a56 1
.include <bsd.port.post.mk>
@


1.3
log
@With portmgr hat on, reset maintainership of these ports.  Maintainer's
old email address bounces, and he has not been responsive to email on the
only other one we have for him.

These ports are now available for adoption.

Come back coop, we miss ya ...
@
text
@d11 1
a11 7
MASTER_SITES=	ftp://ftp.freepascal.org/pub/fpc/dist/FreeBSD/ \
		ftp://planetmirror.com/pub/fpc/dist/FreeBSD/ \
		ftp://ftp.jp.freepascal.org/mirror/fpc/dist/FreeBSD/ \
		ftp://freepascal.stack.nl/pub/fpc/dist/FreeBSD/ \
		ftp://ftp.no.freepascal.org/pub/fpc/dist/FreeBSD/ \
		ftp://ftp.us.freepascal.org/pub/fpc/dist/FreeBSD/ \
		${MASTER_SITE_SOURCEFORGE}
@


1.2
log
@- Fix MASTER_SITES

PR:		ports/67345
Submitted by:	Roman Neuhauser <neuhauser@@chello.cz>
@
text
@d23 1
a23 1
MAINTAINER=	coop9211@@uidaho.edu
@


1.1
log
@Add fpc-demo 1.0.10, Free Pascal compiler examples.

PR:		62605
Submitted by:	John Merryweather Cooper
Approved by:	pav (mentor).
@
text
@d12 1
a12 1
		http://planetmirror.com/pub/fpc/dist/FreeBSD/ \
@

