aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gnome2-reference/Makefile
blob: aec4b2dd84dd26d1dbac5ca92c64adaf5118f8bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# 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>