pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net Add optional support for the lablgtk2 interface fo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5b458e461b00
branches: trunk
changeset: 522525:5b458e461b00
user: tonio <tonio%pkgsrc.org@localhost>
date: Mon Dec 11 23:00:31 2006 +0000
description:
Add optional support for the lablgtk2 interface for unison
Patch provided by Brian de Alwis in pkg/35114
diffstat:
net/unison-devel/Makefile | 7 ++++---
net/unison/Makefile | 7 ++++---
net/unison/options.mk | 14 ++++++++++++++
3 files changed, 22 insertions(+), 6 deletions(-)
diffs (82 lines):
diff -r 3aacf77daa93 -r 5b458e461b00 net/unison-devel/Makefile
--- a/net/unison-devel/Makefile Mon Dec 11 19:14:20 2006 +0000
+++ b/net/unison-devel/Makefile Mon Dec 11 23:00:31 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/04/06 06:22:35 reed Exp $
+# $NetBSD: Makefile,v 1.16 2006/12/11 23:00:52 tonio Exp $
DISTNAME= unison-2.17.1
PKGREVISION= 2
@@ -17,9 +17,10 @@
# docs: unison-manual.pdf/html/ps/dvi
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= gmake
-MAKE_FLAGS+= CFLAGS="" UISTYLE=text
+MAKE_FLAGS+= CFLAGS=""
MAKE_ENV+= HOME=${WRKDIR:Q}
+.include "../../net/unison/options.mk"
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc")
@@ -35,9 +36,9 @@
.endif
INSTALLATION_DIRS= bin
+INSTALLATION_DIRS+= share/doc/unison
post-install:
- ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/unison
${INSTALL_MAN} ${WRKSRC}/BUGS.txt ${PREFIX}/share/doc/unison
${INSTALL_MAN} ${WRKSRC}/CONTRIB ${PREFIX}/share/doc/unison
${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/unison
diff -r 3aacf77daa93 -r 5b458e461b00 net/unison/Makefile
--- a/net/unison/Makefile Mon Dec 11 19:14:20 2006 +0000
+++ b/net/unison/Makefile Mon Dec 11 23:00:31 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2006/04/06 06:22:35 reed Exp $
+# $NetBSD: Makefile,v 1.33 2006/12/11 23:00:31 tonio Exp $
DISTNAME= unison-2.13.16
PKGREVISION= 2
@@ -17,9 +17,10 @@
# docs: unison-manual.pdf/html/ps/dvi
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= gmake
-MAKE_FLAGS+= CFLAGS="" UISTYLE=text
+MAKE_FLAGS+= CFLAGS=""
MAKE_ENV+= HOME=${WRKDIR:Q}
+.include "options.mk"
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc")
@@ -35,9 +36,9 @@
.endif
INSTALLATION_DIRS= bin
+INSTALLATION_DIRS+= share/doc/unison
post-install:
- ${INSTALL_MAN_DIR} ${PREFIX}/share/doc/unison
${INSTALL_MAN} ${WRKSRC}/BUGS.txt ${PREFIX}/share/doc/unison
${INSTALL_MAN} ${WRKSRC}/CONTRIB ${PREFIX}/share/doc/unison
${INSTALL_MAN} ${WRKSRC}/COPYING ${PREFIX}/share/doc/unison
diff -r 3aacf77daa93 -r 5b458e461b00 net/unison/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/unison/options.mk Mon Dec 11 23:00:31 2006 +0000
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2006/12/11 23:00:31 tonio Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.unison
+PKG_SUPPORTED_OPTIONS= lablgtk2
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlablgtk2)
+MAKE_FLAGS+= UISTYLE=gtk2
+.include "../../x11/lablgtk2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.else
+MAKE_FLAGS+= UISTYLE=text
+.endif
Home |
Main Index |
Thread Index |
Old Index