ports/98673: [NEW PORT] graphics/fpc-libpng: Free Pascal interface to libpng, for reading PNG image files

Jose Alonso Cardenas Marquez acardenas at bsd.org.pe
Thu Jun 8 03:29:09 UTC 2006


>Number:         98673
>Category:       ports
>Synopsis:       [NEW PORT] graphics/fpc-libpng: Free Pascal interface to libpng, for reading PNG image files
>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 01:20: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:
The png unit contains a straight translation of the png.h header file from the
libpng library. This library can be used to read/write/manipulate image files
in PNG format.

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

>Fix:
--- fpc-libpng-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-libpng
#	fpc-libpng/pkg-descr
#	fpc-libpng/Makefile
#	fpc-libpng/pkg-plist
#	fpc-libpng/distinfo
#
echo c - fpc-libpng
mkdir -p fpc-libpng > /dev/null 2>&1
echo x - fpc-libpng/pkg-descr
sed 's/^X//' >fpc-libpng/pkg-descr << 'END-of-fpc-libpng/pkg-descr'
XThe png unit contains a straight translation of the png.h header file from the
Xlibpng library. This library can be used to read/write/manipulate image files
Xin PNG format.
X
XWWW:	http://www.freepascal.org/
END-of-fpc-libpng/pkg-descr
echo x - fpc-libpng/Makefile
sed 's/^X//' >fpc-libpng/Makefile << 'END-of-fpc-libpng/Makefile'
X# New ports collection makefile for:	fpc-libpng
X# Date created:		2006-06-05
X# Whom:			Jose Alonso Cardenas Marquez <acardenas at bsd.org.pe>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libpng
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 at bsd.org.pe
XCOMMENT=	Free Pascal interface to libpng, for reading PNG image files
X
XRUN_DEPENDS=	ppc386:${PORTSDIR}/lang/fpc
XLIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png
X
XONLY_FOR_ARCHS=	i386
XNO_BUILD=	yes
X
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 png 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
X.include <bsd.port.mk>
END-of-fpc-libpng/Makefile
echo x - fpc-libpng/pkg-plist
sed 's/^X//' >fpc-libpng/pkg-plist << 'END-of-fpc-libpng/pkg-plist'
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/libpng/Package.fpc
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/libpng/png.ppu
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/libpng/png.o
Xlib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/libpng/libppng.a
X at dirrm lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%/libpng
X at dirrmtry lib/fpc/%%PORTVERSION%%/units/%%BUILDNAME%%
X at dirrmtry lib/fpc/%%PORTVERSION%%/units
X at dirrmtry lib/fpc/%%PORTVERSION%%
X at dirrmtry lib/fpc
END-of-fpc-libpng/pkg-plist
echo x - fpc-libpng/distinfo
sed 's/^X//' >fpc-libpng/distinfo << 'END-of-fpc-libpng/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-libpng/distinfo
exit
--- fpc-libpng-2.0.2.shar ends here ---

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



More information about the freebsd-ports-bugs mailing list