pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/ytalk split the common part of this into Makefile....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fa6d00c95957
branches:  trunk
changeset: 470081:fa6d00c95957
user:      grant <grant%pkgsrc.org@localhost>
date:      Sat Mar 06 12:01:32 2004 +0000

description:
split the common part of this into Makefile.common for forthcoming
ytalk-x11 package.

diffstat:

 net/ytalk/Makefile        |  27 +++++----------------------
 net/ytalk/Makefile.common |  17 +++++++++++++++++
 2 files changed, 22 insertions(+), 22 deletions(-)

diffs (59 lines):

diff -r de351553fe9e -r fa6d00c95957 net/ytalk/Makefile
--- a/net/ytalk/Makefile        Sat Mar 06 11:58:43 2004 +0000
+++ b/net/ytalk/Makefile        Sat Mar 06 12:01:32 2004 +0000
@@ -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
+.include "../../net/ytalk/Makefile.common"
+
 PKGREVISION=   2
-CATEGORIES=    net
-MASTER_SITES=   ${MASTER_SITE_SUNSITE:=system/network/chat/}
-
-MAINTAINER=    mike%ethmoid.org@localhost
-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}
-
-.include "../../mk/bsd.prefs.mk"
+CONFIGURE_ARGS+=--without-x
 
-.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
-
-EGDIR=         ${PREFIX}/share/examples/ytalk
-CONF_FILES=    ${EGDIR}/ytalkrc ${PKG_SYSCONFDIR}/ytalkrc
+CONFLICTS+=    ytalk-x11-[0-9]*
 
 .include "../../mk/bsd.pkg.mk"
diff -r de351553fe9e -r fa6d00c95957 net/ytalk/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ytalk/Makefile.common Sat Mar 06 12:01:32 2004 +0000
@@ -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@localhost
+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



Home | Main Index | Thread Index | Old Index