aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2010-05-14 16:56:13 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2010-05-14 16:56:13 +0000
commitcdab02c42b1aa0c101f3d24050f9380e9ff4a80a (patch)
treeef63b54fc39108f4ff92ec3fd057c88f939f99f2 /comms
parentcb7c72284f3a4ed213f4ae11606e0c2e072d4bd9 (diff)
downloadports-cdab02c42b1aa0c101f3d24050f9380e9ff4a80a.tar.gz
ports-cdab02c42b1aa0c101f3d24050f9380e9ff4a80a.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/gammu-python/Makefile6
-rw-r--r--comms/gammu/pkg-plist1
2 files changed, 6 insertions, 1 deletions
diff --git a/comms/gammu-python/Makefile b/comms/gammu-python/Makefile
index 2e320c057249..03fb243ca0c5 100644
--- a/comms/gammu-python/Makefile
+++ b/comms/gammu-python/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
#
-CATEGORIES= comms
+PORTREVISION= 1
PKGNAMESUFFIX= -python
CONFLICTS= gammu-[1-9]* gammu-devel-[1-9]*
@@ -14,4 +14,8 @@ WITH_PYTHON_GAMMU= yes
MASTERDIR= ${.CURDIR}/../gammu
+post-install:
+ @${PYTHON_CMD} ${PYTHON_SITELIBDIR}/${PORTNAME}/__init__.py
+
+
.include "${MASTERDIR}/Makefile"
diff --git a/comms/gammu/pkg-plist b/comms/gammu/pkg-plist
index e825fbfd8770..76bfa4849071 100644
--- a/comms/gammu/pkg-plist
+++ b/comms/gammu/pkg-plist
@@ -37,6 +37,7 @@ lib/libgsmsd.a
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/_gammu.so
%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Data.py
%%WITH_PYTHON_GAMMU%%%%PYTHON_SITELIBDIR%%/gammu/Worker.py