summaryrefslogtreecommitdiff
path: root/net/ytalk
diff options
context:
space:
mode:
authorgrant <grant>2004-03-06 12:01:32 +0000
committergrant <grant>2004-03-06 12:01:32 +0000
commitddbd6e82d4581bf41949606d42f32110e1c6b276 (patch)
treeb0131b3ad1dccfe4082a699dbc9832bf21fb56f1 /net/ytalk
parent89c487a2b41b880f6e431aebf1324dd2e27ccbec (diff)
downloadpkgsrc-ddbd6e82d4581bf41949606d42f32110e1c6b276.tar.gz
split the common part of this into Makefile.common for forthcoming
ytalk-x11 package.
Diffstat (limited to 'net/ytalk')
-rw-r--r--net/ytalk/Makefile27
-rw-r--r--net/ytalk/Makefile.common17
2 files changed, 22 insertions, 22 deletions
diff --git a/net/ytalk/Makefile b/net/ytalk/Makefile
index 05a6a92e3e5..72a1da836cb 100644
--- a/net/ytalk/Makefile
+++ b/net/ytalk/Makefile
@@ -1,29 +1,12 @@
-# $NetBSD: Makefile,v 1.10 2004/02/28 12:21:48 grant Exp $
+# $NetBSD: Makefile,v 1.11 2004/03/06 12:01:32 grant Exp $
-DISTNAME= ytalk-3.1.1
-PKGREVISION= 2
-CATEGORIES= net
-MASTER_SITES= ${MASTER_SITE_SUNSITE:=system/network/chat/}
+.include "../../net/ytalk/Makefile.common"
-MAINTAINER= mike@ethmoid.org
-HOMEPAGE= http://www.iagora.com/~espel/ytalk/ytalk.html
+PKGREVISION= 2
COMMENT= Multi-user replacement for UNIX talk
-GNU_CONFIGURE= yes
-USE_PKGINSTALL= yes
-
-CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-
-.include "../../mk/bsd.prefs.mk"
-
-.if defined(YTALK_USE_X11) && empty(YTALK_USE_X11:M[Nn][Oo])
-CONFIGURE_ARGS+= --with-x
-USE_X11= yes
-.else
-CONFIGURE_ARGS+= --without-x
-.endif
+CONFIGURE_ARGS+=--without-x
-EGDIR= ${PREFIX}/share/examples/ytalk
-CONF_FILES= ${EGDIR}/ytalkrc ${PKG_SYSCONFDIR}/ytalkrc
+CONFLICTS+= ytalk-x11-[0-9]*
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ytalk/Makefile.common b/net/ytalk/Makefile.common
new file mode 100644
index 00000000000..eadc76b5382
--- /dev/null
+++ b/net/ytalk/Makefile.common
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile.common,v 1.1 2004/03/06 12:01:32 grant Exp $
+
+DISTNAME= ytalk-3.1.1
+CATEGORIES= net
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=system/network/chat/}
+
+MAINTAINER= mike@ethmoid.org
+HOMEPAGE= http://www.iagora.com/~espel/ytalk/ytalk.html
+COMMENT= Multi-user replacement for UNIX talk
+
+GNU_CONFIGURE= yes
+USE_PKGINSTALL= yes
+
+CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/ytalk
+CONF_FILES= ${EGDIR}/ytalkrc ${PKG_SYSCONFDIR}/ytalkrc