freebsd-ports/misc/gnome2-reference/Makefile
Baptiste Daroussin 4a4ec28d37 Convert all :U to :tu and :L to :tl
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a
replacement for :U and :L (which has been marked as deprecated)

bmake which is the default on FreeBSD 10+ only support by default
:tu/:tl a hack has been added at the time to support :U and :L to ease
migration. This hack is now not necessary anymore

Note that this makes the ports tree incompatible with make(1) from
FreeBSD 8.3 or earlier

With hat:	portmgr
2014-05-05 09:45:36 +00:00

80 lines
2.4 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/misc/gnome2-reference/Makefile,v 1.9 2008/08/23 18:22:59 mezz Exp $
PORTNAME= gnome2-reference
PORTVERSION= 2.20
PORTREVISION= 2
CATEGORIES= misc gnome
MASTER_SITES= # empty
DISTFILES= # empty
EXTRACT_ONLY= # empty
MAINTAINER= gnome@FreeBSD.org
COMMENT= The "meta-port" for GNOME 2 programming references
# Please keep this list alphabetically sorted.
# If you add or remove an entry from REF_LIST you must
# run 'make create-ref-list'
REF_LIST= accessibility/at-spi-reference \
accessibility/atk-reference \
devel/ORBit2-reference \
devel/gconf2-reference \
devel/glib20-reference \
devel/glibmm-reference \
devel/gnome-vfs-reference \
devel/libbonobo-reference \
devel/libglade2-reference \
devel/libsoup-reference \
graphics/cairo-reference \
graphics/libgnomecanvas-reference \
net/linc-reference \
print/libgnomeprint-reference \
textproc/gtkspell-reference \
textproc/libxml2-reference \
textproc/libxslt-reference \
x11/gnome-desktop-reference \
x11/gnome-panel-reference \
x11/libgnome-reference \
x11-fonts/fontconfig-reference \
x11-toolkits/gal2-reference \
x11-toolkits/gtk20-reference \
x11-toolkits/gtkmm20-reference \
x11-toolkits/gtkmm24-reference \
x11-toolkits/gtksourceview-reference \
x11-toolkits/libbonoboui-reference \
x11-toolkits/libgnomeui-reference \
x11-toolkits/libwnck-reference \
x11-toolkits/pango-reference \
x11-toolkits/vte-reference
NO_BUILD= yes
NO_INSTALL= yes
NO_MTREE= yes
REF_LIST_INC= ${.CURDIR}/Makefile.inc
.include "${REF_LIST_INC}"
.for ref in ${_PORT_REF_LIST:C/^([^:]+).*/\1/}
OPTIONS_DEFINE+= ${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:S/-/_/:tu}
OPTIONS_DEFAULT+= ${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:S/-/_/:tu}
${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:S/-/_/:tu}_DESC= Install ${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//} programing reference
.endfor
.include <bsd.port.options.mk>
.for ref in ${_PORT_REF_LIST}
.if ${PORT_OPTIONS:M${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:S/-/_/:tu:C/^([^:]+).*/\1/}}
RUN_DEPENDS+= ${ref:C|^[^:]+:([^:]+).*|\1|:C|^[^/]+/([^/]+).*|\1|}>0:${PORTSDIR}/${ref:C/^([^:]+).*/\1/}
.endif
.endfor
create-ref-list:
${CP} ${REF_LIST_INC} ${REF_LIST_INC}.bak
${ECHO_CMD} "_PORT_REF_LIST= \\" > ${REF_LIST_INC}
.for port in ${REF_LIST}
(cd ${PORTSDIR}/${port} && ${ECHO_CMD} "${port}:`${MAKE} -V PKGBASE` \\" >> ${REF_LIST_INC})
.endfor
.include <bsd.port.mk>