From 3d94572d2f1aebe27b4b9ce244cfab4857446ae5 Mon Sep 17 00:00:00 2001 From: bapt Date: Fri, 27 Dec 2013 18:22:55 +0000 Subject: Support stage Add missing shared-mime-info --- graphics/xournal/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'graphics') 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 .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 -- cgit