31 lines
676 B
Makefile
31 lines
676 B
Makefile
# $OpenBSD: Makefile,v 1.71 2009/03/04 20:17:16 naddy Exp $
|
|
|
|
COMMENT= library for manipulating PNG images
|
|
|
|
VERSION= 1.2.35
|
|
DISTNAME= libpng-${VERSION}
|
|
PKGNAME= png-${VERSION}
|
|
SHARED_LIBS= png 8.1
|
|
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}
|
|
|
|
.include <bsd.port.mk>
|