aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2011-05-23 07:16:41 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2011-05-23 07:16:41 +0000
commitdb6b98aa5200f0e72713befacd884c4deed32610 (patch)
treea47cf9d85b48968266e3709473c4db5a191ec25f /x11
parent176c86edee677304ca4fdb9903053925f15dd0e2 (diff)
downloadports-db6b98aa5200f0e72713befacd884c4deed32610.tar.gz
ports-db6b98aa5200f0e72713befacd884c4deed32610.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/libexo/Makefile8
-rw-r--r--x11/libexo/pkg-plist15
2 files changed, 19 insertions, 4 deletions
diff --git a/x11/libexo/Makefile b/x11/libexo/Makefile
index bbd368d6e081..54d0749f5160 100644
--- a/x11/libexo/Makefile
+++ b/x11/libexo/Makefile
@@ -8,8 +8,8 @@
PORTNAME= libexo
PORTVERSION= 0.6.0
CATEGORIES= x11 xfce
-DISTNAME= exo-${PORTVERSION}
MASTER_SITES= ${MASTER_SITE_XFCE}
+DISTNAME= exo-${PORTVERSION}
DIST_SUBDIR= xfce4
MAINTAINER= oliver@FreeBSD.org
@@ -42,7 +42,7 @@ OPTIONS= HAL "Enable HAL support" on \
MAN1= exo-csource.1 exo-open.1
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if !defined(WITHOUT_HAL)
CONFIGURE_ARGS+=--enable-hal
@@ -66,7 +66,7 @@ CONFIGURE_ARGS+=--enable-python
.include "${PORTSDIR}/Mk/bsd.python.mk"
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gtk>=2:${PORTSDIR}/x11-toolkits/py-gtk2
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gtk>=2:${PORTSDIR}/x11-toolkits/py-gtk2
-PLIST_SUB+= PYTHON=""
+PLIST_SUB+= PYTHON="" EXODIR="exo-0.6"
.else
CONFIGURE_ARGS+=--disable-python
PLIST_SUB+= PYTHON="@comment "
@@ -85,4 +85,4 @@ post-install:
${FIND} ${WRKSRC}/docs/reference -type f -regex '.*\.1' \
-exec ${INSTALL_MAN} "{}" "${MANPREFIX}/man/man1" \;
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11/libexo/pkg-plist b/x11/libexo/pkg-plist
index b71be510e5c0..3dc041dfcee7 100644
--- a/x11/libexo/pkg-plist
+++ b/x11/libexo/pkg-plist
@@ -196,6 +196,7 @@ share/locale/ur_PK/LC_MESSAGES/exo-1.mo
share/locale/zh_CN/LC_MESSAGES/exo-1.mo
share/locale/zh_TW/LC_MESSAGES/exo-1.mo
share/pixmaps/exo-1/exo-thumbnail-frame.png
+%%PYTHON%%share/pygtk/2.0/defs/%%EXODIR%%/exo.defs
share/xfce4/helpers/Terminal.desktop
share/xfce4/helpers/Thunar.desktop
share/xfce4/helpers/aterm.desktop
@@ -230,6 +231,20 @@ share/xfce4/helpers/thunderbird.desktop
share/xfce4/helpers/urxvt.desktop
share/xfce4/helpers/w3m.desktop
share/xfce4/helpers/xterm.desktop
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%EXODIR%%
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%EXODIR%%/_exo.so
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%EXODIR%%/_exo.la
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%EXODIR%%/_exo.a
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%EXODIR%%/exo
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%EXODIR%%/exo/__init__.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%EXODIR%%/exo/__init__.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%EXODIR%%/exo/__init__.pyo
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyexo.py
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyexo.pyc
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/pyexo.pyo
+%%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/%%EXODIR%%/exo
+%%PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/%%EXODIR%%
+%%PYTHON%%@dirrm share/pygtk/2.0/defs/%%EXODIR%%
@dirrm share/xfce4/helpers
@dirrm share/xfce4
@dirrm share/pixmaps/exo-1