1995-12-05 03:48:19 +01:00
|
|
|
# New ports collection makefile for: PNG images library
|
|
|
|
# Date created: 5 Dec 1995
|
|
|
|
# Whom: ache
|
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1995-12-05 03:48:19 +01:00
|
|
|
#
|
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= png
|
2002-10-15 09:35:46 +02:00
|
|
|
PORTVERSION= 1.2.5
|
2003-01-29 21:20:56 +01:00
|
|
|
PORTREVISION= 1
|
2001-01-16 18:33:20 +01:00
|
|
|
CATEGORIES= graphics
|
2001-09-11 03:55:36 +02:00
|
|
|
MASTER_SITES= http://www.libpng.org/pub/png/src/ \
|
2001-08-08 20:23:36 +02:00
|
|
|
ftp://swrinde.nde.swri.edu/pub/png/src/ \
|
2000-07-03 10:54:25 +02:00
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= lib${PORTNAME}
|
2001-09-11 03:55:36 +02:00
|
|
|
DISTNAME= lib${PORTNAME}-${PORTVERSION}
|
1995-12-05 03:48:19 +01:00
|
|
|
|
2001-02-06 17:00:18 +01:00
|
|
|
#PATCH_SITES= ftp://ftp.libpng.org/pub/png/src/
|
2000-07-03 10:54:25 +02:00
|
|
|
#PATCHFILES=
|
2000-04-23 19:31:03 +02:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
MAINTAINER= ache@FreeBSD.org
|
1995-12-05 03:48:19 +01:00
|
|
|
|
2002-04-21 18:11:52 +02:00
|
|
|
MAKEFILE= ${WRKSRC}/scripts/makefile.freebsd
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2001-09-11 03:55:36 +02:00
|
|
|
SHLIB_VER= 5
|
2000-06-15 19:59:45 +02:00
|
|
|
|
2000-07-04 09:13:35 +02:00
|
|
|
MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
|
|
|
|
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
MAN3= libpng.3 libpngpf.3
|
|
|
|
MAN5= png.5
|
2002-05-17 14:39:49 +02:00
|
|
|
MANCOMPRESSED= maybe
|
1996-02-20 06:35:35 +01:00
|
|
|
|
2000-07-26 09:33:25 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
post-extract:
|
2000-07-26 09:43:48 +02:00
|
|
|
# Please don't delete the following line - this link used by ghostscript* ports
|
|
|
|
@${LN} -sf ${WRKSRC} ${WRKDIR}/libpng
|
1998-03-28 14:48:46 +01:00
|
|
|
|
2002-05-17 14:39:49 +02:00
|
|
|
pre-install:
|
|
|
|
@[ -d ${PREFIX}/include/libpng ] || ${MKDIR} ${PREFIX}/include/libpng
|
2003-01-29 21:20:56 +01:00
|
|
|
@[ -d ${PREFIX}/libdata/pkgconfig ] || \
|
|
|
|
${MKDIR} ${PREFIX}/libdata/pkgconfig
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${CAT} ${WRKSRC}/scripts/libpng.pc.in | ${SED} -e \
|
|
|
|
's|@PREFIX@|${PREFIX}|' > ${WRKSRC}/scripts/libpng.pc
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/libpng.pc \
|
|
|
|
${PREFIX}/libdata/pkgconfig/libpng12.pc
|
2002-05-17 14:39:49 +02:00
|
|
|
|
2000-07-26 09:33:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|