blob: d2fbc717a78affe0f4566c757159bed50f7ad6a0 (
plain) (
blame)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# Created by: Jan Henrik Sylvester <me@janh.de>
# $FreeBSD$
PORTNAME= xournal
PORTVERSION= 0.4.8.2016
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= me@janh.de
COMMENT= Notetaking application that can annotate PDFs
LICENSE= GPLv2
LIB_DEPENDS= libpoppler-glib.so:graphics/poppler-glib \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= pkgconfig
USE_GNOME= cairo libgnomecanvas
USE_XORG= x11
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --docdir="${DOCSDIR}"
INSTALLS_ICONS= yes
INSTALL_TARGET= install desktop-install
OPTIONS_DEFINE= GHOSTSCRIPT DOCS
GHOSTSCRIPT_DESC= Install ghostscript (PS/PDF as bitmap bg)
OPTIONS_DEFAULT= GHOSTSCRIPT
GHOSTSCRIPT_USES= ghostscript:run
PORTDOCS_MAIN= AUTHORS \
ChangeLog \
COPYING \
README
PORTDOCS= ${PORTDOCS_MAIN} \
html-doc/screenshot.png \
html-doc/manual.html \
html-doc/pixmaps/lightgreen.png \
html-doc/pixmaps/medium.png \
html-doc/pixmaps/ruler.png \
html-doc/pixmaps/green.png \
html-doc/pixmaps/magenta.png \
html-doc/pixmaps/default-pen.png \
html-doc/pixmaps/lasso.png \
html-doc/pixmaps/highlighter.png \
html-doc/pixmaps/red.png \
html-doc/pixmaps/hand.png \
html-doc/pixmaps/fullscreen.png \
html-doc/pixmaps/white.png \
html-doc/pixmaps/xoj.svg \
html-doc/pixmaps/pencil.png \
html-doc/pixmaps/rect-select.png \
html-doc/pixmaps/stretch.png \
html-doc/pixmaps/blue.png \
html-doc/pixmaps/lightblue.png \
html-doc/pixmaps/orange.png \
html-doc/pixmaps/yellow.png \
html-doc/pixmaps/gray.png \
html-doc/pixmaps/xournal.svg \
html-doc/pixmaps/xournal.png \
html-doc/pixmaps/thin.png \
html-doc/pixmaps/thick.png \
html-doc/pixmaps/eraser.png \
html-doc/pixmaps/recycled.png \
html-doc/pixmaps/shapes.png \
html-doc/pixmaps/black.png \
html-doc/pixmaps/text-tool.png
post-patch:
@${REINPLACE_CMD} \
-e 's|$$(DESTDIR)/usr/share/|$$(DESTDIR)$$$$desktopdir/|g' \
${WRKSRC}/Makefile.in
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS_MAIN:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html-doc
(cd ${WRKSRC} && ${COPYTREE_SHARE} html-doc/ ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|