svn commit: r337773 - head/graphics/xournal
Baptiste Daroussin
bapt at FreeBSD.org
Fri Dec 27 18:22:56 UTC 2013
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 at 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>
More information about the svn-ports-head
mailing list