svn commit: r357561 - head/misc/py-yolk
Nicola Vitale
nivit at FreeBSD.org
Thu Jun 12 04:52:31 UTC 2014
Author: nivit
Date: Thu Jun 12 04:52:30 2014
New Revision: 357561
URL: http://svnweb.freebsd.org/changeset/ports/357561
QAT: https://qat.redports.org/buildarchive/r357561/
Log:
- Fix LICENSE type
- Remove MANPAGES option
- Use auto plist for Python files
- Don't build/install Python files as egg
- Add support for stage dir
Modified:
head/misc/py-yolk/Makefile
head/misc/py-yolk/pkg-plist
Modified: head/misc/py-yolk/Makefile
==============================================================================
--- head/misc/py-yolk/Makefile Thu Jun 12 02:35:18 2014 (r357560)
+++ head/misc/py-yolk/Makefile Thu Jun 12 04:52:30 2014 (r357561)
@@ -12,34 +12,27 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= nivit at FreeBSD.org
COMMENT= Command-line tool for querying PyPI and Python packages installed
-LICENSE= BSD
+LICENSE= BSD3CLAUSE
-OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
-OPTIONS_DEFINE= EXAMPLES MANPAGES
-OPTIONS_DEFAULT= MANPAGES
+PYDISTUTILS_AUTOPLIST= yes
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= EXAMPLES
-.if ${PORT_OPTIONS:MMANPAGES}
-MAN1= ${PORTNAME}.1
-.endif
+USE_PYTHON= 2
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
.endif
-USE_PYTHON= 2
-USE_PYDISTUTILS= easy_install
-
post-install:
-.if ${PORT_OPTIONS:MMANPAGES}
- ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.1 ${MANPREFIX}/man/man1/${PORTNAME}.1
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @cd ${WRKSRC}/examples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} ";"
- cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} ";"
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @cd ${WRKSRC}/examples && ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/{} ";"
+ cd ${WRKSRC}/examples && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${EXAMPLESDIR}/{} ";"
.endif
.include <bsd.port.pre.mk>
Modified: head/misc/py-yolk/pkg-plist
==============================================================================
--- head/misc/py-yolk/pkg-plist Thu Jun 12 02:35:18 2014 (r357560)
+++ head/misc/py-yolk/pkg-plist Thu Jun 12 04:52:30 2014 (r357561)
@@ -1,4 +1,4 @@
-bin/yolk
+man/man1/yolk.1.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/plugins/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/plugins/yolk_pkg_manager/README
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/plugins/yolk_pkg_manager/setup.py
@@ -10,4 +10,3 @@ bin/yolk
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/plugins/yolk_portage
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/plugins
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
More information about the svn-ports-all
mailing list