Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 2006 22:13:07 GMT
From:      Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/98667: [NEW PORT] graphics/fpc-ggi: Free Pascal interface to libggi
Message-ID:  <200606072213.k57MD7q7052746@www.freebsd.org>
Resent-Message-ID: <200606080050.k580oIPo078818@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         98667
>Category:       ports
>Synopsis:       [NEW PORT] graphics/fpc-ggi: Free Pascal interface to libggi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 08 00:50:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jose Alonso Cardenas Marquez
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
BSDPeru (http://www.bsd.org.pe)
>Environment:
FreeBSD HellFire.BSD.org.pe 6.1-STABLE FreeBSD 6.1-STABLE #0: Wed May 24 08:30:45 PET 2006
>Description:
This package, made by Sebastian Guenther, contains the header translations of
the GGI (General Graphic Interface) library. (See their homepage). It consists
of units that are straight translations of the libraries header files.

WWW:	http://www.freepascal.org/
>How-To-Repeat:

>Fix:
--- fpc-ggi-2.0.2.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fpc-ggi
#	fpc-ggi/pkg-descr
#	fpc-ggi/Makefile
#	fpc-ggi/pkg-plist
#	fpc-ggi/distinfo
#
echo c - fpc-ggi
mkdir -p fpc-ggi > /dev/null 2>&1
echo x - fpc-ggi/pkg-descr
sed 's/^X//' >fpc-ggi/pkg-descr << 'END-of-fpc-ggi/pkg-descr'
XThis package, made by Sebastian Guenther, contains the header translations of
Xthe GGI (General Graphic Interface) library. (See their homepage). It consists
Xof units that are straight translations of the libraries header files.
X
XWWW:	http://www.freepascal.org/
END-of-fpc-ggi/pkg-descr
echo x - fpc-ggi/Makefile
sed 's/^X//' >fpc-ggi/Makefile << 'END-of-fpc-ggi/Makefile'
X# New ports collection makefile for:	fpc-ggi
X# Date created:		2006-06-05
X# Whom:			Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ggi
XPORTVERSION=	2.0.2
XCATEGORIES=	graphics lang
XMASTER_SITES=	ftp://ftp.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://planetmirror.com/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://ftp.jp.freepascal.org/mirror/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://freepascal.stack.nl/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://ftp.no.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		ftp://ftp.us.freepascal.org/pub/fpc/dist/i386-freebsd-${PORTVERSION}/ \
X		${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	freepascal
XPKGNAMEPREFIX=	fpc-
XDISTNAME=	${PKGNAMEPREFIX}${PORTVERSION}.${BUILDNAME}
XEXTRACT_SUFX=	.tar
X
XMAINTAINER=	acardenas@bsd.org.pe
XCOMMENT=	Free Pascal interface to libggi
X
XRUN_DEPENDS=	ppc386:${PORTSDIR}/lang/fpc
XLIB_DEPENDS=	ggi:${PORTSDIR}/graphics/libggi
X
XONLY_FOR_ARCHS=	i386
XNO_BUILD=	yes
X
XEXAMPLESDIR=	share/examples/${PKGNAMEPREFIX}${PORTVERSION}
XBUILDNAME=	i386-freebsd
XPLIST_SUB+=	PORTVERSION=${PORTVERSION} \
X		BUILDNAME=${BUILDNAME}
X
Xdo-extract:
X# unpack distribution
X	@${MKDIR} ${WRKSRC}
X	@${TAR} xf ${DISTDIR}/${DISTNAME}.tar \
X		--directory ${WRKSRC}
X	@${TAR} xf ${WRKSRC}/binary.${BUILDNAME}.tar \
X		--directory ${WRKSRC}
X
X# unpack binary and forms distribution
X	@${MKDIR} ${WRKSRC}/${PORTNAME}
X	@${TAR} zxf ${WRKSRC}/units-${PORTNAME}.${BUILDNAME}.tar.gz \
X		--directory ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X.for DIRE in lib
X	@cd ${WRKSRC}/${PORTNAME}/${DIRE} && \
X		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/${DIRE}/{}" \; && \
X			${FIND} * -type f -exec ${INSTALL_SCRIPT} "{}" "${PREFIX}/${DIRE}/{}" \;
X.endfor
X
Xpost-install:
X.if !defined (NOPORTDOCS)
X	@cd ${WRKSRC}/${PORTNAME}/share && \
X		${FIND} * -type d -exec ${MKDIR} "{}" "${PREFIX}/share/{}" \; && \
X			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/{}" \;
X.endif
X
X.include <bsd.port.mk>
END-of-fpc-ggi/Makefile
echo x - fpc-ggi/pkg-plist
sed 's/^X//' >fpc-ggi/pkg-plist << 'END-of-fpc-ggi/pkg-plist'
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/Package.fpc
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/gii.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/ggi.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/ggi2d.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/gii.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/ggi.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/ggi2d.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/libpgii.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/libpggi.a
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi/libpggi2d.a
X%%EXAMPLESDIR%%/ggi/ggi1.pp
X@dirrm %%EXAMPLESDIR%%/ggi
X@dirrmtry %%EXAMPLESDIR%%
X@dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/ggi
X@dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
X@dirrmtry lib/fpc/%%PORTVERSION%%/units
X@dirrmtry lib/fpc/%%PORTVERSION%%
X@dirrmtry lib/fpc
END-of-fpc-ggi/pkg-plist
echo x - fpc-ggi/distinfo
sed 's/^X//' >fpc-ggi/distinfo << 'END-of-fpc-ggi/distinfo'
XMD5 (fpc-2.0.2.i386-freebsd.tar) = e1f834f445b0f2313f41ed417a28fb1c
XSHA256 (fpc-2.0.2.i386-freebsd.tar) = 906f002dfdbdfc3380f5a66b93d68debdbb68bba65b9db0590a93f548fb9f528
XSIZE (fpc-2.0.2.i386-freebsd.tar) = 22517760
END-of-fpc-ggi/distinfo
exit
--- fpc-ggi-2.0.2.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606072213.k57MD7q7052746>