Scour is an open-source Python script that aggressively cleans SVG files, removing a lot of 'cruft' that certain tools or authors embed into their documents. The goal of scour is to provide an identically rendered image (i.e. a scoured document should have no discernable visible differences from the original file). OK juanfra@
23 lines
518 B
Makefile
23 lines
518 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2016/01/20 00:04:52 czarkoff Exp $
|
|
|
|
COMMENT = SVG scrubber
|
|
MODPY_EGG_VERSION = 0.32
|
|
CATEGORIES = graphics
|
|
MAINTAINER = Dmitrij D. Czarkoff <czarkoff@openbsd.org>
|
|
HOMEPAGE = http://www.codedread.com/scour/
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
GH_ACCOUNT = codedread
|
|
GH_PROJECT = scour
|
|
GH_TAGNAME = v${MODPY_EGG_VERSION}
|
|
|
|
MODULES = lang/python
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
do-test:
|
|
@cd ${WRKDIST} && ${MODPY_BIN} testscour.py
|
|
@cd ${WRKDIST} && ${MODPY_BIN} testcss.py
|
|
|
|
.include <bsd.port.mk>
|