aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-08-10 17:40:09 +0800
committerantoine <antoine@FreeBSD.org>2014-08-10 17:40:09 +0800
commit57a057f23662bcd2292d3bc3cb3ce5ac9e470577 (patch)
tree37181fb37a8fcea1c72c9bfd970e381583b78bf8 /databases
parent7804fed3e1a875b5d5ea13ffbf9ab123beb3fd37 (diff)
downloadfreebsd-ports-gnome-57a057f23662bcd2292d3bc3cb3ce5ac9e470577.tar.gz
freebsd-ports-gnome-57a057f23662bcd2292d3bc3cb3ce5ac9e470577.tar.zst
freebsd-ports-gnome-57a057f23662bcd2292d3bc3cb3ce5ac9e470577.zip
Stop doing strange things in plist
While here convert to USES=python
Diffstat (limited to 'databases')
-rw-r--r--databases/metakit/Makefile2
-rw-r--r--databases/metakit/pkg-plist3
2 files changed, 2 insertions, 3 deletions
diff --git a/databases/metakit/Makefile b/databases/metakit/Makefile
index 9e319118b345..254e139bdf9f 100644
--- a/databases/metakit/Makefile
+++ b/databases/metakit/Makefile
@@ -24,7 +24,7 @@ OPTIONS_DEFAULT= PYTHON
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MPYTHON}
-USE_PYTHON= yes
+USES+= python
CONFIGURE_ARGS+= --with-python=${LOCALBASE}
CATEGORIES+= python
PLIST_SUB+= WITH_PYTHON=""
diff --git a/databases/metakit/pkg-plist b/databases/metakit/pkg-plist
index ccc8b061c7c3..9d2da77718be 100644
--- a/databases/metakit/pkg-plist
+++ b/databases/metakit/pkg-plist
@@ -2,9 +2,8 @@ include/mk4.h
include/mk4.inl
include/mk4str.h
include/mk4str.inl
+lib/libmk4.so
lib/libmk4.so.0
-@exec ln -s libmk4.so.0 %D/lib/libmk4.so
-@rmtry lib/libmk4.so
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/Mk4py.so
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.py
%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/metakit.pyc