openbsd-ports/graphics/png/Makefile
naddy 4de0998058 Maintenance update to 1.2.32.
Library bump because png_struct has been extended.
2008-09-28 14:43:22 +00:00

34 lines
716 B
Makefile

# $OpenBSD: Makefile,v 1.69 2008/09/28 14:43:22 naddy Exp $
COMMENT= library for manipulating PNG images
VERSION= 1.2.32
DISTNAME= libpng-${VERSION}
PKGNAME= png-${VERSION}
SHARED_LIBS= png 8.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/}
HOMEPAGE= http://www.libpng.org/pub/png/libpng.html
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
SUBST_VARS= VERSION
FAKE_FLAGS= PREFIX="${PREFIX}"
MAKE_ENV= CC="${CC}"
MAKE_FILE= scripts/makefile.openbsd
MAKE_FLAGS= SHLIB_MAJOR=${LIBpng_VERSION:R} \
SHLIB_MINOR=${LIBpng_VERSION:E} \
PNGLIB_VERSION=${VERSION}
post-extract:
@rm -f ${WRKSRC}/*.orig
.include <bsd.port.mk>