Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 18:22:56 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337773 - head/graphics/xournal
Message-ID:  <201312271822.rBRIMutn059147@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri Dec 27 18:22:55 2013
New Revision: 337773
URL: http://svnweb.freebsd.org/changeset/ports/337773

Log:
  Support stage
  Add missing shared-mime-info

Modified:
  head/graphics/xournal/Makefile

Modified: head/graphics/xournal/Makefile
==============================================================================
--- head/graphics/xournal/Makefile	Fri Dec 27 18:13:38 2013	(r337772)
+++ head/graphics/xournal/Makefile	Fri Dec 27 18:22:55 2013	(r337773)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312271822.rBRIMutn059147>