aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gsynaptics
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2007-05-20 04:36:56 +0800
committerflz <flz@FreeBSD.org>2007-05-20 04:36:56 +0800
commit87f4d471fb27b9547c1a0de221b51f4c31684157 (patch)
treedfc4d7ae0fdd043d231bab6f4e98fccbbad14665 /x11/gsynaptics
parent5ae66b41b712e5f34c78308a97f7511fc0b1539e (diff)
downloadfreebsd-ports-gnome-87f4d471fb27b9547c1a0de221b51f4c31684157.tar.gz
freebsd-ports-gnome-87f4d471fb27b9547c1a0de221b51f4c31684157.tar.zst
freebsd-ports-gnome-87f4d471fb27b9547c1a0de221b51f4c31684157.zip
- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
Diffstat (limited to 'x11/gsynaptics')
-rw-r--r--x11/gsynaptics/Makefile14
-rw-r--r--x11/gsynaptics/pkg-plist5
2 files changed, 11 insertions, 8 deletions
diff --git a/x11/gsynaptics/Makefile b/x11/gsynaptics/Makefile
index e62d02178704..ef788af1e779 100644
--- a/x11/gsynaptics/Makefile
+++ b/x11/gsynaptics/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gsynaptics
PORTVERSION= 0.9.9
-PORTREVISION= 3
+PORTREVISION= 5
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP}
MASTER_SITE_SUBDIR= gsynaptics/21527
@@ -16,7 +16,6 @@ MAINTAINER= nork@FreeBSD.org
COMMENT= GNOME Synaptics Touchpad setting tool
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
-RUN_DEPENDS= ${X11BASE}/lib/modules/input/synaptics_drv.o:${PORTSDIR}/x11-servers/synaptics
USE_GNOME= lthack intlhack intltool pkgconfig gtk20 libgnome libglade2 libgnomeui
USE_ICONV= yes
@@ -33,4 +32,13 @@ MAN1= gsynaptics.1 gsynaptics-init.1
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${X_WINDOW_SYSTEM} == "xorg"
+RUN_DEPENDS+= ${X11BASE}/lib/xorg/modules/input/synaptics_drv.so:${PORTSDIR}/x11-servers/synaptics
+.else
+RUN_DEPENDS+= ${X11BASE}/lib/modules/input/synaptics_drv.o:${PORTSDIR}/x11-servers/synaptics
+.endif
+
+
+.include <bsd.port.post.mk>
diff --git a/x11/gsynaptics/pkg-plist b/x11/gsynaptics/pkg-plist
index 9a546777e9d0..055dee05dfe9 100644
--- a/x11/gsynaptics/pkg-plist
+++ b/x11/gsynaptics/pkg-plist
@@ -11,9 +11,4 @@ share/locale/zh_TW/LC_MESSAGES/gsynaptics.mo
share/pixmaps/touchpad.png
@dirrmtry share/gnome/autostart
@dirrmtry share/applications
-@dirrmtry share/pixmaps
@dirrm share/gsynaptics
-@dirrmtry share/locale/zh_TW/LC_MESSAGES
-@dirrmtry share/locale/zh_TW
-@dirrmtry share/locale/zh_CN/LC_MESSAGES
-@dirrmtry share/locale/zh_CN