aboutsummaryrefslogtreecommitdiff
path: root/net/pfinger/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-04 21:33:16 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-04 21:33:16 +0000
commit6b07415d7ffa39811c1c2acf52315932ef5b7511 (patch)
tree597091943be677004c801ebdf333d53739217116 /net/pfinger/Makefile
parent4302743e8c327ef49174d9b41e15c784189aaaaa (diff)
downloadports-6b07415d7ffa39811c1c2acf52315932ef5b7511.tar.gz
ports-6b07415d7ffa39811c1c2acf52315932ef5b7511.zip
Notes
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>