mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Remove indefinite article from COMMENT
- Fix LICENSE section - Use PYDISTUTILS_AUTOPLIST * Remove pkg-plist, accordingly - Make use of UNIQUENAM - Support STAGEDIR * Make DOCS and EXAMPLES unconditional to stage - Add DOCS and EXAMPLES to OPTIONS_DEFINE to fix default options - Unmute INSTALL_DATA and COPYTREE_SHARE in post-install target - Use single space after WWW: in pkg-descr PR: ports/188883 (based on) Submitted by: Bartek Rutkowski <ports@robakdesign.com>
This commit is contained in:
parent
3b5bf7c929
commit
30e1d623fa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352374
@ -3,37 +3,35 @@
|
||||
|
||||
PORTNAME= aafigure
|
||||
PORTVERSION= 0.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= tota@FreeBSD.org
|
||||
COMMENT= An ASCII art to image converter written in Python
|
||||
COMMENT= ASCII art to image converter written in Python
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging \
|
||||
${PYTHON_SITELIBDIR}/reportlab/__init__.py:${PORTSDIR}/print/py-reportlab2
|
||||
|
||||
LICENSE= BSD
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
||||
DOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME}
|
||||
|
||||
PORTDOCS= README.txt
|
||||
PORTEXAMPLES= *
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,29 +0,0 @@
|
||||
bin/aafigure
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/PILhelper.py
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/PILhelper.pyc
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/PILhelper.pyo
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/aa.py
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/aa.pyc
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/aa.pyo
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/aafigure.py
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/aafigure.pyc
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/aafigure.pyo
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/error.py
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/error.pyc
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/error.pyo
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/pdf.py
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/pdf.pyc
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/pdf.pyo
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/pil.py
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/pil.pyc
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/pil.pyo
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/shapes.py
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/shapes.pyc
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/shapes.pyo
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/svg.py
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/svg.pyc
|
||||
%%PYTHON_SITELIBDIR%%/aafigure/svg.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/aafigure
|
Loading…
Reference in New Issue
Block a user