diff options
author | rh <rh@pkgsrc.org> | 2001-10-04 19:18:38 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2001-10-04 19:18:38 +0000 |
commit | 4505a0e8cda882ebed950edaa0458fecb751a03b (patch) | |
tree | c326a7fb26825611fba9ebd6e7407f76b164431c /devel | |
parent | 60f9ad95dac6a893dddce230b3199c109d8df9b8 (diff) | |
download | pkgsrc-4505a0e8cda882ebed950edaa0458fecb751a03b.tar.gz |
Buildlinkify.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/gal/Makefile | 39 | ||||
-rw-r--r-- | devel/gal/buildlink.mk | 53 |
2 files changed, 71 insertions, 21 deletions
diff --git a/devel/gal/Makefile b/devel/gal/Makefile index 5a739fa11c1..c590ba8ac85 100644 --- a/devel/gal/Makefile +++ b/devel/gal/Makefile @@ -1,29 +1,26 @@ -# $NetBSD: Makefile,v 1.16 2001/09/27 23:17:55 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2001/10/04 19:18:38 rh Exp $ -DISTNAME= gal-0.12 -CATEGORIES= gnome devel -MASTER_SITES= ${MASTER_SITE_GNOME:=unstable/sources/gal/} -EXTRACT_SUFX= .tar.bz2 +DISTNAME= gal-0.12 +CATEGORIES= gnome devel +MASTER_SITES= ${MASTER_SITE_GNOME:=unstable/sources/gal/} +EXTRACT_SUFX= .tar.bz2 -MAINTAINER= rh@netbsd.org -HOMEPAGE= http://www.gnome.org/ -COMMENT= Gnome Application Libraries +MAINTAINER= rh@netbsd.org +HOMEPAGE= http://www.gnome.org/ +COMMENT= Gnome Application Libraries -DEPENDS+= libiconv-[0-9]*:../../converters/libiconv -DEPENDS+= gnome-libs>=1.2.13:../../x11/gnome-libs -DEPENDS+= gnome-print>=0.28:../../print/gnome-print -DEPENDS+= gnome-vfs>=1.0:../../sysutils/gnome-vfs -DEPENDS+= libglade>=0.16:../../devel/libglade -DEPENDS+= libunicode>=0.4:../../textproc/libunicode -DEPENDS+= bonobo>=1.0.4:../../devel/bonobo +DEPENDS+= libunicode>=0.4:../../textproc/libunicode -GNU_CONFIGURE= YES -USE_LIBTOOL= YES -USE_X11BASE= YES -USE_LIBINTL= YES - -CONFIGURE_ARGS+= -with-libiconv=${LOCALBASE} +GNU_CONFIGURE= YES +USE_LIBTOOL= YES +USE_X11BASE= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +.include "../../converters/libiconv/buildlink.mk" +.include "../../sysutils/gnome-vfs/buildlink.mk" +.include "../../print/gnome-print/buildlink.mk" +.include "../../devel/gettext-lib/buildlink.mk" +.include "../../devel/libglade/buildlink.mk" +.include "../../devel/bonobo/buildlink.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/gal/buildlink.mk b/devel/gal/buildlink.mk new file mode 100644 index 00000000000..6096bc24618 --- /dev/null +++ b/devel/gal/buildlink.mk @@ -0,0 +1,53 @@ +# $NetBSD: buildlink.mk,v 1.1 2001/10/04 19:18:38 rh Exp $ +# +# This Makefile fragment is included by packages that use gal. +# +# To use this Makefile fragment, simply: +# +# (1) Optionally define BUILDLINK_DEPENDS.gal to the dependency pattern +# for the version of gal desired. +# (2) Include this Makefile fragment in the package Makefile, +# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header +# search path, and +# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search +# path. + +.if !defined(GAL_BUILDLINK_MK) +GAL_BUILDLINK_MK= # defined + +.include "../../mk/bsd.buildlink.mk" + +BUILDLINK_DEPENDS.gal?= gal>=0.12 +DEPENDS+= ${BUILDLINK_DEPENDS.gal}:../../devel/gal + +EVAL_PREFIX+= BUILDLINK_PREFIX.gal=gal +BUILDLINK_PREFIX.gal_DEFAULT= ${X11PREFIX} +BUILDLINK_FILES.gal+= include/gal/* +BUILDLINK_FILES.gal+= include/gal/*/* +BUILDLINK_FILES.gal+= lib/libgal.* + +.include "../../converters/libiconv/buildlink.mk" +.include "../../sysutils/gnome-vfs/buildlink.mk" +.include "../../print/gnome-print/buildlink.mk" +.include "../../devel/gettext-lib/buildlink.mk" +.include "../../devel/libglade/buildlink.mk" +.include "../../devel/bonobo/buildlink.mk" + +BUILDLINK_TARGETS.gal= gal-buildlink +BUILDLINK_TARGETS.gal+= gal-buildlink-config-wrapper +BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.gal} + +BUILDLINK_CONFIG.gal= ${BUILDLINK_PREFIX.gal}/lib/galConf.sh +BUILDLINK_CONFIG_WRAPPER.gal= ${BUILDLINK_DIR}/lib/galConf.sh + +.if defined(USE_CONFIG_WRAPPER) +GAL_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.gal} +CONFIGURE_ENV+= GAL_CONFIG="${GAL_CONFIG}" +MAKE_ENV+= GAL_CONFIG="${GAL_CONFIG}" +.endif + +pre-configure: ${BUILDLINK_TARGETS.gal} +gal-buildlink: _BUILDLINK_USE +gal-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE + +.endif # GAL_BUILDLINK_MK |