aboutsummaryrefslogtreecommitdiff
path: root/graphics/xournal
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 18:22:55 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-12-27 18:22:55 +0000
commit6c032bcf0dc06795f8a8b54cc67d7d6adf323b8e (patch)
tree532d260b5e4a285cd81b2e10c9691c2b21a4076f /graphics/xournal
parent59b553bd68ed9ae29fde8f82eaed2d3b9624357f (diff)
downloadports-6c032bcf0dc06795f8a8b54cc67d7d6adf323b8e.tar.gz
ports-6c032bcf0dc06795f8a8b54cc67d7d6adf323b8e.zip
Notes
Diffstat (limited to 'graphics/xournal')
-rw-r--r--graphics/xournal/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/graphics/xournal/Makefile b/graphics/xournal/Makefile
index 774583b45b18..ba47340df5bd 100644
--- a/graphics/xournal/Makefile
+++ b/graphics/xournal/Makefile
@@ -8,14 +8,14 @@ CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= me@janh.de
-COMMENT= A notetaking application that can annotate PDFs
+COMMENT= Notetaking application that can annotate PDFs
LICENSE= GPLv2
LIB_DEPENDS= libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib
-USES= pkgconfig
-USE_GNOME= desktopfileutils libgnomecanvas
+USES= pkgconfig desktop-file-utils shared-mime-info
+USE_GNOME= libgnomecanvas
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --docdir="${DOCSDIR}"
INSTALLS_ICONS= yes
@@ -25,7 +25,6 @@ OPTIONS_DEFINE= GHOSTSCRIPT
GHOSTSCRIPT_DESC= Install ghostscript (PS/PDF as bitmap bg)
OPTIONS_DEFAULT= GHOSTSCRIPT
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGHOSTSCRIPT}
@@ -36,11 +35,10 @@ post-patch:
@${REINPLACE_CMD} \
-e 's|$$(DESTDIR)/usr/share/|$$(DESTDIR)$$$$desktopdir/|g' \
-e 's|/usr/local/share|"$$(datadir)"|' \
+ -e 's|ln -s $$(DESTDIR)$$(pkgdatadir)/pixmaps|ln -s $$(pkgdatadir)/pixmaps|' \
${WRKSRC}/Makefile.in
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @(cd ${WRKSRC} && ${MAKE} install-doc-local)
-.endif
+ @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} install-doc-local)
.include <bsd.port.mk>