summaryrefslogtreecommitdiff
path: root/graphics/png/Makefile
blob: 1a8b1a2e4fc2a6e79d322bac4a2121d3e0080bcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    PNG images library
# ftp://ftp.libpng.org/pub/png/libpng.html
# Date created:         5 Dec 1995
# Whom:                 ache
#
# $FreeBSD$
#
# PLEASE update print/ghostscript5 (there's a symlink that uses a hardwired
# png version number) when updating this port.  Thank you.

PORTNAME=	png
PORTVERSION=    1.0.7
CATEGORIES=     graphics
MASTER_SITES=   ftp://ftp.libpng.org/pub/png/src/ \
		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	lib${PORTNAME}
DISTNAME=       lib${PKGNAME}

PATCH_SITES=    ftp://ftp.libpng.org/pub/png/src/
#PATCHFILES=

MAINTAINER=     ache@FreeBSD.org

INSTALLS_SHLIB=	yes
SHLIB_VER=	4

MAKE_ENV=	SHLIB_VER="${SHLIB_VER}"
PLIST_SUB=	SHLIB_VER="${SHLIB_VER}"

MAN3=           libpng.4 libpngpf.3
MAN5=           png.5

do-configure:
	cd ${WRKSRC} && ${CP} scripts/makefile.std Makefile

.include <bsd.port.mk>