2011-04-22 15:41:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.14 2011/04/22 13:44:09 obache Exp $
|
2009-01-18 18:39:37 +01:00
|
|
|
#
|
|
|
|
|
2009-10-31 04:20:35 +01:00
|
|
|
DISTNAME= fbreader-sources-0.10.7
|
2009-01-18 18:39:37 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/-sources//}
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 7
|
2009-01-18 18:39:37 +01:00
|
|
|
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
|
2009-10-31 04:20:35 +01:00
|
|
|
LICENSE= gnu-gpl-v2 AND modified-bsd
|
2009-01-18 18:39:37 +01:00
|
|
|
|
2009-08-31 22:17:48 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2009-01-18 18:39:37 +01:00
|
|
|
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
|
|
|
|
|
2010-04-05 20:50:48 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD"
|
|
|
|
CPPFLAGS+= -DDO_ICONV_CAST
|
|
|
|
.endif
|
|
|
|
|
2009-01-18 18:39:37 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
|
|
|
.include "../../converters/fribidi/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2010-12-23 12:44:24 +01:00
|
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
2009-01-18 18:39:37 +01:00
|
|
|
.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"
|