b146e33847
was done incorrectly and because it was disruptive to the pkgsrc freeze. Will fix this correctly after the freeze is finished.
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.56 2004/03/19 18:36:46 ben Exp $
|
|
|
|
# On update, don't forget to increase shared library major/minor's in
|
|
# accordance with changes (patch-aa).
|
|
DISTNAME= libpng-1.2.5
|
|
PKGNAME= ${DISTNAME:S/lib//}
|
|
PKGREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
|
|
http://www.libpng.org/pub/png/src/ \
|
|
ftp://swrinde.nde.swri.edu/pub/png/src/ \
|
|
ftp://ftp.simplesystems.org/pub/libpng/src/ \
|
|
ftp://ftp.fu-berlin.de/unix/graphics/png/src/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= fredb@NetBSD.org
|
|
HOMEPAGE= http://www.libpng.org/pub/png/
|
|
COMMENT= Library for manipulating PNG images
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_LIBTOOL= yes
|
|
TEST_TARGET= test
|
|
|
|
LIBPNG_SO_MAJOR= 3
|
|
LIBPNG_SO_MINOR= 1
|
|
|
|
MAKEFILE= scripts/makefile.std
|
|
MAKE_ENV+= REALCC="${CC}"
|
|
MAKE_ENV+= LIBPNG_SO_MAJOR=${LIBPNG_SO_MAJOR}
|
|
MAKE_ENV+= LIBPNG_SO_MINOR=${LIBPNG_SO_MINOR}
|
|
PLIST_SUBST+= LIBPNG_SO_MAJOR=${LIBPNG_SO_MAJOR}
|
|
PLIST_SUBST+= LIBPNG_SO_MINOR=${LIBPNG_SO_MINOR}
|
|
|
|
INSTALLATION_DIRS= include lib man/man3 man/man5
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/libpng.3 ${PREFIX}/man/man3
|
|
${INSTALL_MAN} ${WRKSRC}/libpngpf.3 ${PREFIX}/man/man3
|
|
${INSTALL_MAN} ${WRKSRC}/png.5 ${PREFIX}/man/man5
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|