diff options
author | tonio <tonio@pkgsrc.org> | 2006-12-11 23:00:31 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2006-12-11 23:00:31 +0000 |
commit | 1cf11017015228e1b6c230f499bd4257071933d1 (patch) | |
tree | 0b7588656451132f3f440b690c8f13a343eadfad /net/unison | |
parent | de64642ed0da7a0a6dfbfdea5ccdef5de90cde08 (diff) | |
download | pkgsrc-1cf11017015228e1b6c230f499bd4257071933d1.tar.gz |
Add optional support for the lablgtk2 interface for unison
Patch provided by Brian de Alwis in pkg/35114
Diffstat (limited to 'net/unison')
-rw-r--r-- | net/unison/Makefile | 7 | ||||
-rw-r--r-- | net/unison/options.mk | 14 |
2 files changed, 18 insertions, 3 deletions
diff --git a/net/unison/Makefile b/net/unison/Makefile index f5e3ac42c68..6aebffec114 100644 --- a/net/unison/Makefile +++ b/net/unison/Makefile @@ -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 @@ BUILDLINK_API_DEPENDS.ocaml+= ocaml>=3.08.2 # 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 @@ MAKE_FLAGS+= THREADS=true .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 --git a/net/unison/options.mk b/net/unison/options.mk new file mode 100644 index 00000000000..dab19863bf1 --- /dev/null +++ b/net/unison/options.mk @@ -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 |