diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-10 17:07:17 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-10 17:07:17 +0000 |
commit | 121b33e18d6860c8e2d0e60df60e0bf996d5034d (patch) | |
tree | 1279a2232830a35e82f9eafcc0f1bf4baa4c1022 /Mk/bsd.gnome.mk | |
parent | c14f8b015ebbd959dbbec346fe7e95a8df308cab (diff) | |
download | ports-121b33e18d6860c8e2d0e60df60e0bf996d5034d.tar.gz ports-121b33e18d6860c8e2d0e60df60e0bf996d5034d.zip |
Notes
Diffstat (limited to 'Mk/bsd.gnome.mk')
-rw-r--r-- | Mk/bsd.gnome.mk | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Mk/bsd.gnome.mk b/Mk/bsd.gnome.mk index f2200f341b77..06baab11e52d 100644 --- a/Mk/bsd.gnome.mk +++ b/Mk/bsd.gnome.mk @@ -252,10 +252,23 @@ MAKE_ENV+= HAVE_IMLIB=${HAVE_IMLIB} .endif .endif +# Ports which optionally depend on Gnome can add '--datadir=${PREFIX}/share' +# to CONFIGURE_ARGS before including <bsd.port.post.mk> if they do not wish +# to install their data files in /usr/X11R6/share/gnome. Please be aware +# that you will need to make non standard patches to get the rest of the +# files into the correct places. Specifically, the help files and pixmaps +# must still go into /usr/X11R6/share/gnome/help and +# /usr/X11R6/share/gnome/pixmaps respectively. %%DATADIR%% will still be +# defined for you to use. + .if defined(USE_GNOMELIBS) -CONFIGURE_ARGS+=--localstatedir=${PREFIX}/share/gnome \ - --datadir=${PREFIX}/share/gnome \ - --with-gnome=${PREFIX} +.if !defined(HAVE_GNOME) || ${CONFIGURE_ARGS:S/--localstatedir=//} == ${CONFIGURE_ARGS} +CONFIGURE_ARGS+=--localstatedir=${PREFIX}/share/gnome +.endif +.if !defined(HAVE_GNOME) || ${CONFIGURE_ARGS:S/--datadir=//} == ${CONFIGURE_ARGS} +CONFIGURE_ARGS+=--datadir=${PREFIX}/share/gnome +.endif +CONFIGURE_ARGS+=--with-gnome=${PREFIX} LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs GNOME_CONFIG?= ${X11BASE}/bin/gnome-config CONFIGURE_ENV+= GNOME_CONFIG="${GNOME_CONFIG}" |