Annotation of pkgsrc/graphics/png/Makefile, Revision 1.140
1.140 ! wiz 1: # $NetBSD: Makefile,v 1.139 2011/09/28 05:34:08 wiz Exp $
1.1 agc 2:
1.140 ! wiz 3: DISTNAME= libpng-1.5.6
1.31 mjl 4: PKGNAME= ${DISTNAME:S/lib//}
1.26 jlam 5: CATEGORIES= graphics
1.39 fredb 6: MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libpng/} \
1.15 tron 7: ftp://ftp.fu-berlin.de/unix/graphics/png/src/
1.139 wiz 8: EXTRACT_SUFX= .tar.bz2
1.1 agc 9:
1.99 wiz 10: MAINTAINER= wiz@NetBSD.org
1.109 wiz 11: HOMEPAGE= http://www.libpng.org/pub/png/libpng.html
1.27 wiz 12: COMMENT= Library for manipulating PNG images
1.127 wiz 13: LICENSE= png-license
1.1 agc 14:
1.52 jlam 15: PKG_INSTALLATION_TYPES= overwrite pkgviews
1.83 joerg 16: PKG_DESTDIR_SUPPORT= user-destdir
1.52 jlam 17:
1.75 wiz 18: GNU_CONFIGURE= yes
1.123 wiz 19: PKGCONFIG_OVERRIDE= scripts/libpng.pc.in libpng.pc.in
1.82 rillig 20: TEST_TARGET= check
1.43 jlam 21: USE_LIBTOOL= yes
1.57 ben 22:
1.78 wiz 23: .include "../../mk/bsd.prefs.mk"
1.79 wiz 24: # keep this in sync with the same code in buildlink3.mk
1.95 bjs 25: .if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "x86_64"
1.78 wiz 26: CPPFLAGS+= -DPNG_NO_ASSEMBLER_CODE
27: .endif
28:
1.77 wiz 29: SUBST_CLASSES+= rpathfix
1.123 wiz 30: SUBST_FILES.rpathfix= libpng-config.in
31: SUBST_MESSAGE.rpathfix= Adding rpath to libpng-config
1.116 tnn 32: SUBST_SED.rpathfix= -e 's/-L$${libdir}/${COMPILER_RPATH_FLAG}$${libdir} -L$${libdir}/g'
1.77 wiz 33: SUBST_STAGE.rpathfix= pre-configure
34:
1.52 jlam 35: .include "../../devel/zlib/buildlink3.mk"
1.6 agc 36: .include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>