blob: 089ad9f5d9044dc9eee6d45b1b4fff943a550d6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# $NetBSD: Makefile,v 1.32 2014/05/09 07:37:17 wiz Exp $
DISTNAME= scribus-1.4.3
PKGREVISION= 2
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scribus/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.scribus.net/
COMMENT= Publishing layout with graphical interface
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
USE_TOOLS+= gmake perl pkg-config
PTHREAD_OPTS+= require
SHLIBTOOL_OVERRIDE= # empty
USE_CMAKE= yes
CMAKE_ARGS+= -DPNG_LIBRARY_RELEASE=${LOCALBASE}/lib
# XXX not yet
#CMAKE_ARGS+= -DWANT_HUNSPELL:BOOL=ON
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 1.4.3
INSTALLATION_DIRS+= share/pixmaps
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
CMAKE_ARGS+= -DCLANG_NO_OPT=-O0
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/resources/icons/scribus.png \
${DESTDIR}${PREFIX}/share/pixmaps
.include "../../devel/boost-headers/buildlink3.mk"
.include "../../print/cups/buildlink3.mk"
.include "../../print/podofo/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
BUILDLINK_API_DEPENDS.libart+= libart>=2.3.19nb1
.include "../../graphics/libart/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
#.include "../../textproc/hunspell/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
|