51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.45 2016/10/07 18:26:00 adam Exp $
|
|
|
|
DISTNAME= fbreader-sources-0.99.4
|
|
PKGNAME= ${DISTNAME:S/-sources//}
|
|
PKGREVISION= 10
|
|
CATEGORIES= misc
|
|
MASTER_SITES= http://www.fbreader.org/files/desktop/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.fbreader.org/
|
|
COMMENT= Ebook reader software
|
|
LICENSE= gnu-gpl-v2 AND modified-bsd
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
MAKE_ENV+= INSTALLDIR=${PREFIX}
|
|
MAKE_ENV+= DESTDIR=${DESTDIR}
|
|
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 "../../databases/sqlite3/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../textproc/liblinebreak/buildlink3.mk"
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
.include "../../x11/libICE/buildlink3.mk"
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|