aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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