diff options
Diffstat (limited to 'graphics/png/Makefile')
-rw-r--r-- | graphics/png/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/graphics/png/Makefile b/graphics/png/Makefile index 9a7911f607d..9b60d4c2602 100644 --- a/graphics/png/Makefile +++ b/graphics/png/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.41 2002/05/16 06:08:09 tron Exp $ +# $NetBSD: Makefile,v 1.42 2002/07/19 14:33:08 fredb Exp $ # On update, don't forget to increase shared library major/minor's in # accordance with changes (patch-aa). -DISTNAME= libpng-1.2.1 +DISTNAME= libpng-1.2.4 PKGNAME= ${DISTNAME:S/lib//} CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \ @@ -16,17 +16,26 @@ MAINTAINER= fredb@netbsd.org HOMEPAGE= http://www.libpng.org/pub/png/ COMMENT= Library for manipulating PNG images -USE_LIBTOOL= yes +USE_BUILDLINK_ONLY= yes +USE_LIBTOOL= yes + +LIBPNG_SO_MAJOR= 3 +LIBPNG_SO_MINOR= 1 MAKEFILE= scripts/makefile.std MAKE_ENV+= REALCC="${CC}" - -USE_BUILDLINK_ONLY= yes +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} 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 +test: build + @cd ${WRKSRC} && ${MAKE} -f ${MAKEFILE} test + .include "../../devel/zlib/buildlink.mk" .include "../../mk/bsd.pkg.mk" |