Skip to content

Instantly share code, notes, and snippets.

@su-v
Created December 23, 2014 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save su-v/b73beb4919e762697057 to your computer and use it in GitHub Desktop.
Save su-v/b73beb4919e762697057 to your computer and use it in GitHub Desktop.
MacPorts Portfile for GNU InklingReader and Inkscape extension (work-in-progress, devel port based on git master)
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
PortGroup active_variants 1.1
PortGroup debug 1.0
name inklingreader-devel
set git_name inklingreader
version 0.8
license GPL-3
categories graphics
maintainers nomaintainer
platforms darwin
description InklingReader - A GNU/Linux-friendly version of the Wacom Inkling SketchManager.
long_description \
This project is an attempt to create a GNU/Linux-friendly \
version of the Wacom Inkling SketchManager. Instead of \
integrating with proprietary programs, this program aims \
to be compatible with free software alternatives like \
Inkscape.
homepage https://github.com/roelj/${git_name}
fetch.type git
git.url https://github.com/roelj/${git_name}.git
git.branch 2183ea726401af0f45144a3b72771ed57bc9646c
depends_build \
port:pkgconfig \
port:autoconf \
port:automake
depends_lib \
port:gtk3 \
port:librsvg \
port:cairo
use_autoconf yes
autoconf.cmd autoreconf
autoconf.args -i
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${git_name}
xinstall -m 644 -W ${worksrcpath} \
AUTHORS COPYING ChangeLog INSTALL NEWS README README.md TODO.org \
${destroot}${prefix}/share/doc/${git_name}
xinstall -m 755 -d ${destroot}${prefix}/share/inkscape/extensions
xinstall -m 644 ${worksrcpath}/res/inkscape-extension/wpi_input.inx ${destroot}${prefix}/share/inkscape/extensions/wpi_input.inx
xinstall -m 755 ${worksrcpath}/res/inkscape-extension/wpi2svg-ext.py ${destroot}${prefix}/share/inkscape/extensions/wpi2svg-ext.py
}
variant docs {
# TODO
}
variant usb description {with USB support} {
depends_lib-append port:libusb
}
default_variants-append +usb
livecheck.type none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment