- Fix checksum mismatch [1]
- Alternate patch submitted by maintainer PR: 163024 [1] Submitted by: Dulmandakh Sukhbaatar <dulmandakh@gmail.com> [1] Approved by: ports@caomhin.org (maintainer), gabor (mentor) Feature safe: yes
This commit is contained in:
parent
44643ebccb
commit
7b8ac043e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287143
2 changed files with 8 additions and 23 deletions
|
@ -7,13 +7,15 @@
|
|||
|
||||
PORTNAME= sorl-thumbnail
|
||||
PORTVERSION= 3.2.5
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= ports@caomhin.org
|
||||
COMMENT= The sorl-thumbnail package provides an easy way to generate image thumbnails.
|
||||
COMMENT= Sorl-thumbnail provides an easy way to generate image thumbnails
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/pildriver.py:${PORTSDIR}/graphics/py-imaging
|
||||
|
||||
|
@ -25,8 +27,7 @@ DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|||
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
|
||||
OPTIONS= DJANGO "Enable Django" On \
|
||||
PDF "Enable PDF Thumbnails" Off \
|
||||
WORD "Enable Word Document thumbnail handling" Off \
|
||||
DOCS "Install HTML documentation (requires Sphinx)" Off
|
||||
WORD "Enable Word Document thumbnail handling" Off
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
@ -42,20 +43,4 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/Magick-config:${PORTSDIR}/graphics/ImageMagick
|
|||
RUN_DEPENDS+= wvVersion:${PORTSDIR}/textproc/wv
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DOCS)
|
||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
||||
post-build:
|
||||
.if defined(WITH_DOCS)
|
||||
cd ${WRKSRC}/docs && ${MAKE} html
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if defined(WITH_DOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${CP} -R ${WRKSRC}/docs/_build/html ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (sorl-thumbnail-3.2.5.tar.gz) = f7135ac44cb8ae9e0f5bb0376cc66858499f1d3d93875437d50cf0cae65b47eb
|
||||
SIZE (sorl-thumbnail-3.2.5.tar.gz) = 30655
|
||||
SHA256 (sorl-thumbnail-3.2.5.tar.gz) = 8f0378cc08bed75a7e86fc44847e652378d1951af452a47976d2eca8b8276968
|
||||
SIZE (sorl-thumbnail-3.2.5.tar.gz) = 19622
|
||||
|
|
Loading…
Reference in a new issue