diff options
author | perky <perky@FreeBSD.org> | 2002-10-08 19:05:28 +0800 |
---|---|---|
committer | perky <perky@FreeBSD.org> | 2002-10-08 19:05:28 +0800 |
commit | be01e4d48c7a63a7b9abd97e583d8fd09a1772df (patch) | |
tree | 6dffeb812bb4f246fe99d23828acc0c210124185 /devel | |
parent | 59aeb66c01b2019d7b5f0fc28ccde42e4bf6ac1f (diff) | |
download | freebsd-ports-gnome-be01e4d48c7a63a7b9abd97e583d8fd09a1772df.tar.gz freebsd-ports-gnome-be01e4d48c7a63a7b9abd97e583d8fd09a1772df.tar.zst freebsd-ports-gnome-be01e4d48c7a63a7b9abd97e583d8fd09a1772df.zip |
Add py-fam 1.0.1,
a Python Interface to the File Alteration Monitor(fam).
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-fam/Makefile | 25 | ||||
-rw-r--r-- | devel/py-fam/distinfo | 1 | ||||
-rw-r--r-- | devel/py-fam/files/setup.py | 10 | ||||
-rw-r--r-- | devel/py-fam/pkg-comment | 1 | ||||
-rw-r--r-- | devel/py-fam/pkg-descr | 4 | ||||
-rw-r--r-- | devel/py-fam/pkg-plist | 1 |
7 files changed, 43 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 4425e5c40a37..18c06b110515 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -634,6 +634,7 @@ SUBDIR += py-coro SUBDIR += py-cxx SUBDIR += py-dialog + SUBDIR += py-fam SUBDIR += py-fileutils SUBDIR += py-fortran SUBDIR += py-freebsd diff --git a/devel/py-fam/Makefile b/devel/py-fam/Makefile new file mode 100644 index 000000000000..34a4b5f5179b --- /dev/null +++ b/devel/py-fam/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: py-fam +# Date created: 8 October 2002 +# Whom: Hye-Shik Chang +# +# $FreeBSD$ + +PORTNAME= fam +PORTVERSION= 1.0.1 +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= python-fam +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python-fam-${PORTVERSION} + +MAINTAINER= perky@FreeBSD.org + +LIB_DEPENDS= fam.0:${PORTSDIR}/devel/fam + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +pre-patch: + ${INSTALL_DATA} ${FILESDIR}/setup.py ${WRKSRC} + +.include <bsd.port.mk> diff --git a/devel/py-fam/distinfo b/devel/py-fam/distinfo new file mode 100644 index 000000000000..ae7006840678 --- /dev/null +++ b/devel/py-fam/distinfo @@ -0,0 +1 @@ +MD5 (python-fam-1.0.1.tar.gz) = 2e10dafbe8526fc234a1e77adcfc2017 diff --git a/devel/py-fam/files/setup.py b/devel/py-fam/files/setup.py new file mode 100644 index 000000000000..9c215bd7da24 --- /dev/null +++ b/devel/py-fam/files/setup.py @@ -0,0 +1,10 @@ +# $FreeBSD$ +from distutils.core import setup, Extension +import os +LOCALBASE = os.environ.get('LOCALBASE', '/usr/local') +setup(name = "fam", ext_modules = [ + Extension("_fam", ["_fam.c"], + include_dirs=[LOCALBASE + '/include'], + libraries=['fam'], library_dirs=[LOCALBASE + '/lib'], + )] +) diff --git a/devel/py-fam/pkg-comment b/devel/py-fam/pkg-comment new file mode 100644 index 000000000000..9bc7c7483264 --- /dev/null +++ b/devel/py-fam/pkg-comment @@ -0,0 +1 @@ +Python Interface to the File Alteration Monitor diff --git a/devel/py-fam/pkg-descr b/devel/py-fam/pkg-descr new file mode 100644 index 000000000000..f974c03260ea --- /dev/null +++ b/devel/py-fam/pkg-descr @@ -0,0 +1,4 @@ +Python FAM provides a Python module to use the File Alteration +Monitor(ports/devel/fam) in Python. + +WWW: http://python-fam.sourceforge.net/ diff --git a/devel/py-fam/pkg-plist b/devel/py-fam/pkg-plist new file mode 100644 index 000000000000..b31faad4bc64 --- /dev/null +++ b/devel/py-fam/pkg-plist @@ -0,0 +1 @@ +%%PYTHON_SITELIBDIR%%/_fam.so |