summaryrefslogtreecommitdiffstats
path: root/misc/gnome2-reference/Makefile
blob: 886e4e3f831008209dff5d73207a4cae99c3d3f2 (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
81
82
83
84
85
# New ports collection makefile for:    gnome2-reference
# Date created:     2006-07-24
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom: ports/misc/gnome2-reference/Makefile,v 1.4 2007/09/04 03:35:39 ahze Exp $

PORTNAME=   gnome2-reference
PORTVERSION=    2.20
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 \
        accessibility/gail-reference \
        databases/libgda2-reference \
        databases/libgda3-reference \
        databases/libgnomedb-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

OPTIONS=    # empty
NO_BUILD=   yes

REF_LIST_INC=   ${.CURDIR}/Makefile.inc
.include "${REF_LIST_INC}"

.include <bsd.port.pre.mk>

.for ref in ${_PORT_REF_LIST:C/^([^:]+).*/\1/}
OPTIONS+=   ${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:U} "Install ${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//} programing reference " on
.endfor

.for ref in ${_PORT_REF_LIST}
.if !defined(WITHOUT_${ref:C|^[^/]+/([^/]+).*|\1|:S/-reference//:U:C/^([^:]+).*/\1/})
RUN_DEPENDS+=   ${ref:C|^[^:]+:([^:]+).*|\1|:C|^[^/]+/([^/]+).*|\1|}>0:${PORTSDIR}/${ref:C/^([^:]+).*/\1/}
.endif
.endfor

do-install: # empty

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 "${port}:`${MAKE} -V PORTNAME` \\" >> ${REF_LIST_INC})
.endfor

.include <bsd.port.post.mk>