aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-12-28 02:22:55 +0800
committerbapt <bapt@FreeBSD.org>2013-12-28 02:22:55 +0800
commit3d94572d2f1aebe27b4b9ce244cfab4857446ae5 (patch)
tree532d260b5e4a285cd81b2e10c9691c2b21a4076f /graphics
parent4fbf08671379d22861b990bca9d37cd870aa07fa (diff)
downloadfreebsd-ports-gnome-3d94572d2f1aebe27b4b9ce244cfab4857446ae5.tar.gz
freebsd-ports-gnome-3d94572d2f1aebe27b4b9ce244cfab4857446ae5.tar.zst
freebsd-ports-gnome-3d94572d2f1aebe27b4b9ce244cfab4857446ae5.zip
Support stage
Add missing shared-mime-info
Diffstat (limited to 'graphics')
-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>