# $OpenBSD: Makefile,v 1.23 2000/07/03 09:41:31 brad Exp $ DISTNAME= libpng-1.0.7 PKGNAME= png-1.0.7 CATEGORIES= graphics NEED_VERSION= 1.301 MASTER_SITES= ftp://ftp.libpng.org/pub/png/src/ \ ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= libpng HOMEPAGE= http://www.libpng.org/pub/png/ MAINTAINER= brad@openbsd.org PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes USE_LIBTOOL= Yes MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="libpng.la -lz -lm" MAKE_FILE= scripts/makefile.std 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 test: build @cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} test .include