mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
comms/gammu-python:
. remove CATEGORIES (it's the same with master port); . run python script to create gammu/__init__.pyc file; . bump PORTREVISION. comms/gammu: . add gammu/__init__.pyc to pkg-plist (when WITH_PYTHON_GAMMU is defined, i.e. for comms/gammu-python port).
This commit is contained in:
parent
cb7c72284f
commit
cdab02c42b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=254322
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user