mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Clarify LICENSE
- Switch to options helpers
This commit is contained in:
parent
a8d78b8ea9
commit
03281c6ab5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402795
1 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@ DISTNAME= python-${PORTNAME}-${PORTVERSION}
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Python interface to DJB's constant database library
|
||||
|
||||
LICENSE= GPLv2
|
||||
LICENSE= GPLv2 # or later
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= python:2
|
||||
|
@ -27,8 +27,12 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
|||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cdbmodule.so
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue