diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2010-05-15 13:02:49 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2010-05-15 13:02:49 +0000 |
commit | 7f004430b13467ed636b62e9500ce33de91fc8ad (patch) | |
tree | ff8d6750f71eb87140f2aa57a761be4e2b316399 /comms/gammu | |
parent | 1dc980843cf6373247ef344d4ed09ab290312e11 (diff) | |
download | ports-7f004430b13467ed636b62e9500ce33de91fc8ad.tar.gz ports-7f004430b13467ed636b62e9500ce33de91fc8ad.zip |
Notes
Diffstat (limited to 'comms/gammu')
-rw-r--r-- | comms/gammu/Makefile | 7 | ||||
-rw-r--r-- | comms/gammu/pkg-plist | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/comms/gammu/Makefile b/comms/gammu/Makefile index 710dd11fd47c..ed62589e0372 100644 --- a/comms/gammu/Makefile +++ b/comms/gammu/Makefile @@ -44,6 +44,13 @@ MAN7= gammu-smsd-files.7 gammu-smsd-mysql.7 gammu-smsd-pgsql.7 \ gammu-smsd-dbi.7 gammu-smsd-tables.7 .endif +.if defined(WITH_PYTHON_GAMMU) +post-install: +.for opt in -Qold -O + ${PYTHON_CMD} ${opt} -m compileall -l ${PYTHONPREFIX_SITELIBDIR}/gammu +.endfor +.endif + .include <bsd.port.pre.mk> post-patch: diff --git a/comms/gammu/pkg-plist b/comms/gammu/pkg-plist index 76bfa4849071..6cb650c88a2c 100644 --- a/comms/gammu/pkg-plist +++ b/comms/gammu/pkg-plist @@ -38,8 +38,13 @@ libdata/pkgconfig/gammu.pc libdata/pkgconfig/gammu-smsd.pc %%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/__init__.py %%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/__init__.pyc +%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/__init__.pyo %%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/_gammu.so %%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Data.py +%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Data.pyc +%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Data.pyo %%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Worker.py +%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Worker.pyc +%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Worker.pyo @dirrm include/gammu %%WITH_PYTHON_GAMMU%%@dirrm %%PYTHON_SITELIBDIR%%/gammu |