diff options
author | kwm <kwm@FreeBSD.org> | 2015-07-17 04:53:28 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2015-07-17 04:53:28 +0800 |
commit | 4490d4bc75707dbdea79b297aac91b4ce174c25f (patch) | |
tree | 3fa9947d2b38c86d548ab0b4face968420a2825b /graphics/xournal | |
parent | 929b8a6a2120516c63b8fecd8eba713ab5aafae2 (diff) | |
download | freebsd-ports-gnome-4490d4bc75707dbdea79b297aac91b4ce174c25f.tar.gz freebsd-ports-gnome-4490d4bc75707dbdea79b297aac91b4ce174c25f.tar.zst freebsd-ports-gnome-4490d4bc75707dbdea79b297aac91b4ce174c25f.zip |
Convert code in bsd.port.mk for USE_GHOSTSCRIPT* to USES=ghostscript.
Add GHOSTSCRIPT_DEFAULT to bsd.default-versions.mk for easy version selection.
Arguments supported: <empty>, build, run, nox11 and agpl
PR: 201201 (exp-run)
Approved by: portmgr (mat@)
Exp run by: antione@ (previous patch)
Differential Revision: https://reviews.freebsd.org/D2938
Diffstat (limited to 'graphics/xournal')
-rw-r--r-- | graphics/xournal/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/graphics/xournal/Makefile b/graphics/xournal/Makefile index f4e3aeee325e..4b8a23083027 100644 --- a/graphics/xournal/Makefile +++ b/graphics/xournal/Makefile @@ -24,6 +24,8 @@ OPTIONS_DEFINE= GHOSTSCRIPT DOCS GHOSTSCRIPT_DESC= Install ghostscript (PS/PDF as bitmap bg) OPTIONS_DEFAULT= GHOSTSCRIPT +GHOSTSCRIPT_USES= ghostscript:run + PORTDOCS_MAIN= AUTHORS \ ChangeLog \ COPYING \ @@ -64,10 +66,6 @@ PORTDOCS= ${PORTDOCS_MAIN} \ .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MGHOSTSCRIPT} -USE_GHOSTSCRIPT_RUN= yes -.endif - post-patch: @${REINPLACE_CMD} \ -e 's|$$(DESTDIR)/usr/share/|$$(DESTDIR)$$$$desktopdir/|g' \ |