aboutsummaryrefslogtreecommitdiff
path: root/net/pfinger
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-09-14 22:43:23 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-09-14 22:43:23 +0000
commit8ed77255aee0a74ae89577048ad96c905ee863ca (patch)
tree99fda6f67b3d6b49953ee52292f3dceae76262b0 /net/pfinger
parent8a9a26e95d9959a2b31a0fce127552147991b8b2 (diff)
downloadports-8ed77255aee0a74ae89577048ad96c905ee863ca.tar.gz
ports-8ed77255aee0a74ae89577048ad96c905ee863ca.zip
- Support WITHOUT_X11 tunable
PR: ports/86138 Submitted by: Roman Neuhauser <neuhauser@sigpipe.cz>
Notes
Notes: svn path=/head/; revision=142759
Diffstat (limited to 'net/pfinger')
-rw-r--r--net/pfinger/Makefile11
-rw-r--r--net/pfinger/pkg-plist2
2 files changed, 9 insertions, 4 deletions
diff --git a/net/pfinger/Makefile b/net/pfinger/Makefile
index b2f684501b75..fc9deedd0b14 100644
--- a/net/pfinger/Makefile
+++ b/net/pfinger/Makefile
@@ -10,8 +10,7 @@ PORTNAME= pfinger
PORTVERSION= 0.7.10
PORTREVISION= 1
CATEGORIES= net
-MASTER_SITES= ftp://ftp.xelia.ch/pub/unix/ \
- http://www.xelia.ch/unix/pfinger/
+MASTER_SITES= http://www.xelia.ch/unix/pfinger/
MAINTAINER= ports@FreeBSD.org
COMMENT= Highly configurable, secure and portable finger daemon
@@ -19,8 +18,14 @@ COMMENT= Highly configurable, secure and portable finger daemon
CONFLICTS= gnu-finger-1.*
USE_REINPLACE= yes
-USE_GNOME= gtk12
GNU_CONFIGURE= yes
+.if !defined(WITHOUT_X11)
+USE_GNOME= gtk12
+PLIST_SUB+= WITHOUT_X11=""
+.else
+CONFIGURE_ARGS+=--without-client
+PLIST_SUB+= WITHOUT_X11="@comment "
+.endif
MAN1= finger.1 pfinger.1
MAN5= fingerconf.5
diff --git a/net/pfinger/pkg-plist b/net/pfinger/pkg-plist
index c9d40e44ac26..c26b9b0abc3f 100644
--- a/net/pfinger/pkg-plist
+++ b/net/pfinger/pkg-plist
@@ -1,4 +1,4 @@
bin/finger
-bin/pfinger
+%%WITHOUT_X11%%bin/pfinger
sbin/fingerd
sbin/in.fingerd