Use the gettext MODULE

This commit is contained in:
ajacoutot 2011-07-07 00:22:37 +00:00
parent 2db5a00fb1
commit ebf18cf0c6
6 changed files with 53 additions and 36 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2010/11/19 22:31:38 espie Exp $
# $OpenBSD: Makefile,v 1.13 2011/07/07 00:22:37 ajacoutot Exp $
COMMENT-main = graphical tools for the MetaGeek Wi-spy spectrum analyser
COMMENT-utils = tools for the MetaGeek Wi-spy spectrum analyser
@ -10,7 +10,8 @@ PKGNAME = spectrum-tools-$V
FULLPKGNAME-main = spectrum-tools-${V:S/-//g}
FULLPKGNAME-utils = spectrum-tools-utils-${V:S/-//g}
REVISION-main = 1
REVISION-main = 2
REVISION-utils = 2
CATEGORIES = net
@ -28,23 +29,26 @@ PERMIT_DISTFILES_FTP = Yes
MULTI_PACKAGES = -main -utils
WANTLIB = c m pthread usb
cWANTLIB = c m pthread usb
WANTLIB-main = ${WANTLIB} \
WANTLIB-main = ${cWANTLIB} \
X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig \
freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \
iconv intl pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 \
png pthread-stubs xcb z gdk_pixbuf-2.0 gtk-x11-2.0 gdk-x11-2.0
pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 \
png pthread-stubs xcb z gdk_pixbuf-2.0 gtk-x11-2.0 gdk-x11-2.0 \
${MODGETTEXT_WANTLIB}
WANTLIB-utils = ${WANTLIB} ncurses
WANTLIB-utils = ${cWANTLIB} ncurses
LIB_DEPENDS = devel/libusb
LIB_DEPENDS-utils = devel/libusb
LIB_DEPENDS-main += ${LIB_DEPENDS} \
devel/libusb \
x11/gtk+2
RUN_DEPENDS-main = net/spectrum-tools,-utils
RUN_DEPENDS-utils = # empty
CONFIGURE_STYLE = gnu
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile.inc,v 1.17 2011/03/03 08:47:55 giovanni Exp $
# $OpenBSD: Makefile.inc,v 1.18 2011/07/07 00:22:37 ajacoutot Exp $
DISTNAME= unison-$V
CATEGORIES= net
REVISION= 1
HOMEPAGE= http://www.cis.upenn.edu/~bcpierce/unison/
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
@ -20,18 +21,19 @@ USE_GMAKE= Yes
FLAVORS= no_x11
FLAVOR?=
.if ${FLAVOR:L:Mno_x11}
MAKE_FLAGS= UISTYLE=text
.else
MODULES += devel/gettext
BUILD_DEPENDS+= x11/lablgtk2
LIB_DEPENDS= x11/gtk+2
MAKE_FLAGS= UISTYLE=gtk2
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender expat fontconfig freetype pixman-1 pthread-stubs
WANTLIB += atk-1.0 iconv intl cairo png xcb z
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 pango-1.0
WANTLIB += pangocairo-1.0 pangoft2-1.0 gdk_pixbuf-2.0
WANTLIB += gdk-x11-2.0 gtk-x11-2.0
WANTLIB += gdk-x11-2.0 gtk-x11-2.0 atk-1.0 cairo png xcb z
WANTLIB += GL Xxf86vm drm gthread-2.0 pthread xcb-render xcb-shm
.endif

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2010/11/29 20:20:41 jasper Exp $
# $OpenBSD: Makefile,v 1.10 2011/07/07 00:22:37 ajacoutot Exp $
COMMENT-main = system metrics collection engine
COMMENT-mysql = collectd mysql plugin
@ -15,6 +15,8 @@ PKGNAME-rrdtool = collectd-rrdtool-$V
PKGNAME-snmp = collectd-snmp-$V
CATEGORIES = sysutils
REVISION-main= 0
HOMEPAGE = http://www.collectd.org/
SHARED_LIBS += collectdclient 0.0
SHARED_ONLY = Yes
@ -27,7 +29,7 @@ PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}/files/
MODULES = converters/libiconv
MODULES = devel/gettext
MULTI_PACKAGES = -main -mysql -pgsql -rrdtool -snmp
@ -53,8 +55,8 @@ LIB_DEPENDS += net/curl \
security/libgcrypt \
devel/libtool,-ltdl
WANTLIB += c crypto gpg-error idn intl kvm curl xml2 ltdl
WANTLIB += m pcap pthread ssl xml2 z statgrab gcrypt
WANTLIB += c crypto gpg-error idn kvm curl xml2 ltdl
WANTLIB += m pcap pthread ssl xml2 z statgrab gcrypt ${MODGETTEXT_WANTLIB}
CONFIGURE_STYLE = gnu
USE_LIBTOOL = Yes

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.6 2011/05/01 11:43:06 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.7 2011/07/07 00:22:37 ajacoutot Exp $
SHARED_ONLY = Yes
@ -15,7 +15,7 @@ PKGNAME-mysql = rsyslog-mysql-$V
PKGNAME-pgsql = rsyslog-pgsql-$V
CATEGORIES = sysutils
REVISION-main = 0
REVISION-main = 1
HOMEPAGE = http://www.rsyslog.com/
@ -25,8 +25,10 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB-main += c gmp hogweed nettle gnutls iconv intl pthread
WANTLIB-main += relp tasn1 z
MODULES = devel/gettext
WANTLIB-main += c gmp hogweed nettle gnutls pthread
WANTLIB-main += relp tasn1 z ${MODGETTEXT_WANTLIB}
WANTLIB-mysql += crypto m mysqlclient ssl z
WANTLIB-pgsql += crypto com_err pq ssl

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.26 2011/04/10 18:02:55 jasper Exp $
# $OpenBSD: Makefile,v 1.27 2011/07/07 00:22:37 ajacoutot Exp $
#
# Many variables moved to ../Makefile.inc
@ -7,7 +7,7 @@ COMMENT= test-bed browser/authoring tool of the W3C
AMAYA_VERSION= 5.1
DISTNAME= amaya-src-${AMAYA_VERSION}
PKGNAME= amaya-${AMAYA_VERSION}
REVISION= 6
REVISION= 7
HOMEPAGE= http://www.w3.org/Amaya/
@ -17,15 +17,12 @@ FLAVOR?= motif
WANTLIB += ICE SM X11 Xext Xt c expat m pthread-stubs xcb z
.if ${FLAVOR:L} == "gtk"
MODULES += devel/gettext
CONFIGURE_ARGS+= --with-gtk=${LOCALBASE}
# I'm too lazy to write a proper imlib autoconf test.
LIB_DEPENDS+= graphics/imlib
WANTLIB += Xi gdk gif glib gmodule gtk iconv intl jpeg png tiff gdk_imlib.>=19
WANTLIB += Xi gdk gif glib gmodule gtk jpeg png tiff gdk_imlib.>=19
.elif ${FLAVOR:L} == "motif"
WANTLIB += jpeg png Xm
LIB_DEPENDS+= graphics/jpeg \
graphics/png \

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.85 2011/05/17 08:26:53 dcoppa Exp $
# $OpenBSD: Makefile,v 1.86 2011/07/07 00:22:37 ajacoutot Exp $
USE_GMAKE = Yes
COMMENT-debug = C++ GUI toolkit, debug
@ -23,7 +23,15 @@ PKGNAME-debug = qt4-debug-${PKGVERSION}
FULLPKGNAME-html = qt4-html-${PKGVERSION}
FULLPKGPATH-html = ${BASE_PKGPATH},-html
REVISION-tds = 0
REVISION-mysql = 0
REVISION-postgresql = 0
REVISION-examples = 0
REVISION-sqlite2 = 0
REVISION-sqlite = 0
PKGNAME-tds = 1
REVISION-main = 0
REVISION-debug = 0
SHARED_LIBS = Qt3Support 8.0 \
QtCore 9.0 \
@ -178,9 +186,11 @@ MULTI_PACKAGES += -examples
PROGRAMS += qtdemo pixeltool
.endif
MODULES = devel/gettext
LIB_DEPENDS =
WANTLIB =
RUN_DEPENDS =
commonWANTLIB = ICE Xrender c GLU SM freetype pthread Xinerama \
Xext GL Xi m X11>=10 z fontconfig \
@ -190,7 +200,7 @@ commonLIB_DEPENDS = graphics/png
sqlWANTLIB = m lib/qt4/QtCore>=4 QtSql
sqlLIB_DEPENDS = ${BASE_PKGPATH}
RUN_DEPENDS-main= ${MODGETTEXT_RUN_DEPENDS}
LIB_DEPENDS-main = ${LIB_DEPENDS} ${commonLIB_DEPENDS} \
devel/glib2 \
graphics/jpeg \
@ -200,35 +210,35 @@ WANTLIB-main = ${WANTLIB} ${commonWANTLIB} jpeg mng \
lcms tiff gobject-2.0 gstvideo-0.10 \
gstbase-0.10 gstreamer-0.10 xml2 \
gobject-2.0 gmodule-2.0 gstinterfaces-0.10 \
iconv intl glib-2.0 gthread-2.0 gstaudio-0.10
${MODGETTEXT_WANTLIB} glib-2.0 gthread-2.0 gstaudio-0.10
LIB_DEPENDS-mysql = ${LIB_DEPENDS} ${sqlLIB_DEPENDS} \
LIB_DEPENDS-mysql = ${sqlLIB_DEPENDS} \
databases/mysql
WANTLIB-mysql = ${WANTLIB} ${sqlWANTLIB} \
crypto ssl pthread z mysqlclient_r
LIB_DEPENDS-postgresql =${LIB_DEPENDS} ${sqlLIB_DEPENDS} \
LIB_DEPENDS-postgresql =${sqlLIB_DEPENDS} \
databases/postgresql
WANTLIB-postgresql = ${WANTLIB} ${sqlWANTLIB} pq
LIB_DEPENDS-sqlite2 = ${LIB_DEPENDS} ${sqlLIB_DEPENDS} \
LIB_DEPENDS-sqlite2 = ${sqlLIB_DEPENDS} \
databases/sqlite
WANTLIB-sqlite2 = ${WANTLIB} ${sqlWANTLIB} sqlite
LIB_DEPENDS-sqlite = ${LIB_DEPENDS} ${sqlLIB_DEPENDS} \
LIB_DEPENDS-sqlite = ${sqlLIB_DEPENDS} \
databases/sqlite3
WANTLIB-sqlite = ${WANTLIB} ${sqlWANTLIB} sqlite3
LIB_DEPENDS-tds = ${LIB_DEPENDS} ${sqlLIB_DEPENDS} \
LIB_DEPENDS-tds = ${sqlLIB_DEPENDS} \
databases/freetds
WANTLIB-tds = ${WANTLIB} ${sqlWANTLIB} sybdb
LIB_DEPENDS-examples = ${LIB_DEPENDS} ${commonLIB_DEPENDS} \
LIB_DEPENDS-examples = ${commonLIB_DEPENDS} \
${BASE_PKGPATH}
WANTLIB-examples = ${WANTLIB} ${commonWANTLIB} lib/qt4/QtDesigner \
lib/qt4/QtCore lib/qt4/QtGui lib/qt4/QtNetwork \