aboutsummaryrefslogtreecommitdiff
path: root/net/pfinger/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/pfinger/Makefile')
-rw-r--r--net/pfinger/Makefile20
1 files changed, 5 insertions, 15 deletions
diff --git a/net/pfinger/Makefile b/net/pfinger/Makefile
index 853d21f2273f..f22db79de15c 100644
--- a/net/pfinger/Makefile
+++ b/net/pfinger/Makefile
@@ -12,26 +12,16 @@ COMMENT= Highly configurable, secure, and portable finger daemon
CONFLICTS= gnu-finger-1.*
-OPTIONS_DEFINE= X11
-
GNU_CONFIGURE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MX11}
-USE_GNOME= gtk12
-PLIST_SUB+= WITHOUT_X11=""
-.else
-CONFIGURE_ARGS+=--without-client
-PLIST_SUB+= WITHOUT_X11="@comment "
-.endif
+OPTIONS_DEFINE= X11
+OPTIONS_SUB= yes
-.include <bsd.port.pre.mk>
+X11_USE= GNOME=gtk12
+X11_CONFIGURE_OFF= --without-client
post-patch:
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/src/configfile.c
-.if ${OSVERSION} >= 900007
@${REINPLACE_CMD} -e 's|<utmp.h>|<utmpx.h>|' ${WRKSRC}/configure
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>