Date: Thu, 26 Apr 2012 12:08:13 +0400 From: Mikle Krutov <neko@takino.org> To: ports@freebsd.org Subject: Problems with wrtiting new port: plugin installation Message-ID: <20120426080813.GA52311@takino.org>
next in thread | raw e-mail | index | archive | help
--FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello ports@! I'm updating now the graphics/zathura port [1] Its developer has slightly changed the program to support plugins. So after installation of new version I need to install some plugin to view differents types of documents. For now, PDF, DJVU and some other plugins exist. So, in my Makefile of graphics/zathura I have: OPTIONS= POPPLERPDF "Poppler PDF Viewer Plugin" On \ MUPDF "MuPDF Viewer Plugin" Off And, slightly later: .if defined (WITH_POPPLERPDF) RUN_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/zathura-pdf-poppler .endif .if defined (WITH_MUPDF) RUN_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/zathura-pdf-mupdf .endif (All the ports in attached shar archive) While it works OK on writing options I choose (in /var/db/ports/zathura), it does not work for actual compiling of the plugins: ports system just does nothing after zathura installation. What am I doing wrong? I've talked the situation over with MAINTAINER, and he recommends just to have an echo with 'You have to install blah-blah-blah' in post-install, which I do not like. Also is there any way to have after-install LIB_DEPENDS in ports? Because ${NONEXISTENT} is kludgy, and plugins are .so in $LOCALBASE/lib/zathura? [1] http://pwmt.org/projects/zathura/ -- Krutov Mihail || Takino.org --FL5UXtIhxfXey3p5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120426080813.GA52311>