diff options
author | jlaffaye <jlaffaye@FreeBSD.org> | 2014-03-10 01:19:42 +0800 |
---|---|---|
committer | jlaffaye <jlaffaye@FreeBSD.org> | 2014-03-10 01:19:42 +0800 |
commit | 269ba3928e0739a61f4f2e0a9e7aed1131298f98 (patch) | |
tree | ab6564c6784a44cf18e7ae07012f729480e52d23 | |
parent | 2876cd1eb93f7734f4cda3d3d3a8e501e78737e8 (diff) | |
download | freebsd-ports-gnome-269ba3928e0739a61f4f2e0a9e7aed1131298f98.tar.gz freebsd-ports-gnome-269ba3928e0739a61f4f2e0a9e7aed1131298f98.tar.zst freebsd-ports-gnome-269ba3928e0739a61f4f2e0a9e7aed1131298f98.zip |
- Remove deprecated easy_install
- STAGE support
- Specify BSD license
-rw-r--r-- | devel/py-gflags/Makefile | 11 | ||||
-rw-r--r-- | devel/py-gflags/pkg-descr | 2 | ||||
-rw-r--r-- | devel/py-gflags/pkg-plist | 9 |
3 files changed, 12 insertions, 10 deletions
diff --git a/devel/py-gflags/Makefile b/devel/py-gflags/Makefile index f035e900303e..2eaac9c92d9f 100644 --- a/devel/py-gflags/Makefile +++ b/devel/py-gflags/Makefile @@ -11,19 +11,12 @@ DISTNAME= python-gflags-${PORTVERSION} MAINTAINER= jlaffaye@FreeBSD.org COMMENT= Commandline flags module for Python -LICENSE= BSD +LICENSE= BSD3CLAUSE USE_PYTHON= 2 -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS=yes PYDISTUTILS_PKGNAME= python_gflags -PLIST_FILES= %%PYTHON_SITELIBDIR%%/gflags \ - %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% - PROJECTHOST= python-gflags -NO_STAGE= yes -post-install: - ${TOUCH} ${PYEASYINSTALL_SITELIBDIR}/gflags - .include <bsd.port.mk> diff --git a/devel/py-gflags/pkg-descr b/devel/py-gflags/pkg-descr index 5625ab65fa98..2674c4d4d941 100644 --- a/devel/py-gflags/pkg-descr +++ b/devel/py-gflags/pkg-descr @@ -4,4 +4,4 @@ flexibility, including built-in support for Python types, and the ability to define flags in the source file in which they're used. (This last is its major difference from OptParse.) -WWW: http://code.google.com/p/python-gflags/ +WWW: http://code.google.com/p/python-gflags/ diff --git a/devel/py-gflags/pkg-plist b/devel/py-gflags/pkg-plist new file mode 100644 index 000000000000..1598e3893c45 --- /dev/null +++ b/devel/py-gflags/pkg-plist @@ -0,0 +1,9 @@ +bin/gflags2man.py +%%PYTHON_SITELIBDIR%%/gflags.py +%%PYTHON_SITELIBDIR%%/gflags.pyc +%%PYTHON_SITELIBDIR%%/gflags.pyo +%%PYTHON_SITELIBDIR%%/gflags_validators.py +%%PYTHON_SITELIBDIR%%/gflags_validators.pyc +%%PYTHON_SITELIBDIR%%/gflags_validators.pyo +@dirrmtry %%PYTHON_SITELIBDIR%% +@dirrmtry %%PYTHON_LIBDIR%% |