diff options
Diffstat (limited to 'comms/gammu/Makefile')
-rw-r--r-- | comms/gammu/Makefile | 7 |
1 files changed, 7 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: |