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