0983a6434c
some fuckup in their autoconf stuff (which we don't use) and changed dates in comments. Bump PKGNAME. Noticed by aanriot@, thanks!
32 lines
747 B
Makefile
32 lines
747 B
Makefile
# $OpenBSD: Makefile,v 1.60 2006/11/30 17:24:13 bernd Exp $
|
|
|
|
COMMENT= "library for manipulating PNG images"
|
|
|
|
VERSION= 1.2.14
|
|
DISTNAME= libpng-${VERSION}
|
|
PKGNAME= ${DISTNAME:S/lib//}p0
|
|
SHARED_LIBS= png 5.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
|
|
|
|
FAKE_FLAGS= ${MAKE_FLAGS} DESTDIR="${WRKINST}" 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}/scripts/*.orig
|
|
|
|
.include <bsd.port.mk>
|