# $OpenBSD: Makefile,v 1.20 2000/06/10 06:34:37 brad Exp $ DISTNAME= libpng-1.0.6 PKGNAME= png-1.0.6 CATEGORIES= graphics NEED_VERSION= 1.223 MASTER_SITES= ftp://ftp.uu.net/graphics/png/src/ PATCHFILES= libpng-1.0.6-patch-a.txt.gz \ libpng-1.0.6-patch-b.txt.gz \ libpng-1.0.6-patch-c.txt.gz HOMEPAGE= http://www.libpng.org/pub/png/ MAINTAINER= brad@openbsd.org LICENSE_TYPE= BSD PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes FAKE= Yes pre-patch: @cd ${WRKSRC} && cp scripts/makefile.std Makefile post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/png cd ${WRKSRC}; ${INSTALL_MAN} libpng.3 libpngpf.3 ${PREFIX}/man/man3 ${INSTALL_MAN} ${WRKSRC}/png.5 ${PREFIX}/man/man5 ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/png ${INSTALL_DATA} ${WRKSRC}/libpng.txt ${PREFIX}/share/doc/png .include # The patches assumed shared libs would be build. If building # on a host that does not support shared libs, e.g. the alpha, # apply one more patch. .if defined(NO_SHARED_LIBS) PATCH_LIST+=noshared-patch .endif