svn commit: r318870 - head/www/uwsgi
Dmitry Sivachenko
demon at FreeBSD.org
Thu May 23 13:14:28 UTC 2013
Author: demon
Date: Thu May 23 13:14:27 2013
New Revision: 318870
URL: http://svnweb.freebsd.org/changeset/ports/318870
Log:
Use PLIST_FILES;
Use PYTHONPREFIX_SITELIBDIR instead of PYTHON_SITELIBDIR in install target;
Strip header.
PR: 177472
Deleted:
head/www/uwsgi/pkg-plist
Modified:
head/www/uwsgi/Makefile
Modified: head/www/uwsgi/Makefile
==============================================================================
--- head/www/uwsgi/Makefile Thu May 23 13:08:48 2013 (r318869)
+++ head/www/uwsgi/Makefile Thu May 23 13:14:27 2013 (r318870)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: uwsgi
-# Date created: 23 May 2010
-# Whom: Daniel Gerzo <danger at FreeBSD.org>
-#
+# Created by: Daniel Gerzo <danger at FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= uwsgi
PORTVERSION= 1.9.10
@@ -22,11 +18,15 @@ USE_GNOME= libxml2
USE_PYTHON= yes
USE_RC_SUBR= uwsgi
+PLIST_FILES= bin/uwsgi \
+ ${PYTHONPREFIX_SITELIBDIR}/uwsgidecorators.py
+
post-patch:
${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
- @${INSTALL_DATA} ${WRKSRC}/uwsgidecorators.py ${PYTHON_SITELIBDIR}
+ @${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
+ @${INSTALL_DATA} ${WRKSRC}/uwsgidecorators.py ${PYTHONPREFIX_SITELIBDIR}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list