Add fpc-paszlib 1.0.10, Free Pascal unit for native compression IO.

PR:		62612
Submitted by:	John Merryweather Cooper
Approved by:	pav (mentor).
This commit is contained in:
Thierry Thomas 2004-04-12 21:54:29 +00:00
parent 2abaca8e66
commit 372451b6d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106830
5 changed files with 96 additions and 0 deletions

View file

@ -16,6 +16,7 @@
SUBDIR += dpkg
SUBDIR += fastjar
SUBDIR += fileroller
SUBDIR += fpc-paszlib
SUBDIR += freeze
SUBDIR += gtar
SUBDIR += gzip

View file

@ -0,0 +1,47 @@
# New ports collection makefile for: FreeVision
# Date created: 9 February 2004
# Whom: John Merryweather Cooper
#
# $FreeBSD$
#
PORTNAME= paszlib
PORTVERSION= 1.0.10
CATEGORIES= archivers devel
MASTER_SITES= http://www.borgsdemons.com/distfiles/
PKGNAMEPREFIX= fpc-
MAINTAINER= coop9211@uidaho.edu
COMMENT= Free Pascal unit for native compression IO
BUILD_DEPENDS= ppc386:${PORTSDIR}/lang/fpc
RUN_DEPENDS= ${BUILD_DEPENDS}
USE_GMAKE= yes
USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
.include <bsd.port.pre.mk>
PLIST_SUB+= INSTDIR=lib/fpc/${PORTVERSION}/units/freebsd/paszlib \
PORTVERSION=${PORTVERSION}
MAKE_ENV+= PATH=${LOCALBASE}/bin:$$PATH \
FPC=${LOCALBASE}/bin/ppc386 \
INSTALL_BASEDIR=${PREFIX}/lib/fpc/${PORTVERSION} \
INSTALL_BINDIR=${PREFIX}/bin \
GCCLIBDIR=/usr/lib \
RELEASE=1
post-patch:
# change to alter amount of optimization
@${FIND} ${WRKDIR}/paszlib -name "Makefile*" | ${XARGS} \
${REINPLACE_CMD} 's|-OG2p3|-OG2p1|g'
do-build:
@${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKDIR}/paszlib all
do-install:
@${SETENV} ${MAKE_ENV} ${GMAKE} -C ${WRKDIR}/paszlib install
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
MD5 (paszlib-1.0.10.tar.gz) = 4d52f1d084a424a5deabc4f47eb4d370
SIZE (paszlib-1.0.10.tar.gz) = 96724

View file

@ -0,0 +1,8 @@
The paszlib unit is one of the base packages developed for
Free Pascal, a 32-bit Turbo Pascal/Delphi compatible compiler.
This unit provides some of the interfaces in Delphi Vision.
WWW: http://www.freepascal.org/
--
John Merryweather Cooper <coop9211@uidaho.edu>

View file

@ -0,0 +1,38 @@
%%INSTDIR%%/Package.fpc
%%INSTDIR%%/adler.o
%%INSTDIR%%/adler.ppu
%%INSTDIR%%/gzcrc.o
%%INSTDIR%%/gzcrc.ppu
%%INSTDIR%%/gzio.o
%%INSTDIR%%/gzio.ppu
%%INSTDIR%%/infblock.o
%%INSTDIR%%/infblock.ppu
%%INSTDIR%%/infcodes.o
%%INSTDIR%%/infcodes.ppu
%%INSTDIR%%/inffast.o
%%INSTDIR%%/inffast.ppu
%%INSTDIR%%/inftrees.o
%%INSTDIR%%/inftrees.ppu
%%INSTDIR%%/infutil.o
%%INSTDIR%%/infutil.ppu
%%INSTDIR%%/paszlib.o
%%INSTDIR%%/paszlib.ppu
%%INSTDIR%%/trees.o
%%INSTDIR%%/trees.ppu
%%INSTDIR%%/zbase.o
%%INSTDIR%%/zbase.ppu
%%INSTDIR%%/zcompres.o
%%INSTDIR%%/zcompres.ppu
%%INSTDIR%%/zdeflate.o
%%INSTDIR%%/zdeflate.ppu
%%INSTDIR%%/zinflate.o
%%INSTDIR%%/zinflate.ppu
%%INSTDIR%%/zuncompr.o
%%INSTDIR%%/zuncompr.ppu
%%INSTDIR%%/zutil.o
%%INSTDIR%%/zutil.ppu
@dirrm %%INSTDIR%%
@unexec rmdir %D/lib/fpc/%%PORTVERSION%%/units/freebsd 2>/dev/null || true
@unexec rmdir %D/lib/fpc/%%PORTVERSION%%/units 2>/dev/null || true
@unexec rmdir %D/lib/fpc/%%PORTVERSION%% 2>/dev/null || true
@unexec rmdir %D/lib/fpc 2>/dev/null || true