mirror of
https://git.freebsd.org/ports.git
synced 2025-05-19 10:33:12 -04:00
- Convert to options helper
- Add NO_ARCH
This commit is contained in:
parent
d5bb3825db
commit
7afa1972d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405417
1 changed files with 6 additions and 1 deletions
|
@ -12,17 +12,22 @@ DISTNAME= pyexcelerator-${PORTVERSION}
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Python library for generating Excel 97/2000/XP/2003 files
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
USES= python:2 zip
|
||||
USE_PYTHON= distutils autoplist
|
||||
NO_ARCH= yes
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-excelerator
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/py-excelerator
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
post-install:
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.bmp ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
|
Loading…
Add table
Reference in a new issue