pkgsrc/misc/fbreader/Makefile
wiz e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2010/06/13 22:44:58 wiz Exp $
#
DISTNAME= fbreader-sources-0.10.7
PKGNAME= ${DISTNAME:S/-sources//}
PKGREVISION= 3
CATEGORIES= misc
MASTER_SITES= http://www.fbreader.org/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.fbreader.org/
COMMENT= Ebook reader software
LICENSE= gnu-gpl-v2 AND modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
MAKE_ENV+= INSTALLDIR=${PREFIX}
MAKE_ENV+= DESTDIR=${DESTDIR}
MAKE_ENV+= LDFLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib
MAKE_ENV+= TARGET_ARCH=desktop
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD"
CPPFLAGS+= -DDO_ICONV_CAST
.endif
.include "options.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../converters/fribidi/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../textproc/liblinebreak/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"