aboutsummaryrefslogtreecommitdiff
path: root/ru_RU.KOI8-R/htdocs/gnome/docs/example-Makefile.xml
blob: e65ed33753baa9fdb209647548e34f488266d7f8 (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
<?xml version="1.0" encoding="koi8-r"?>
<!DOCTYPE html PUBLIC "-//FreeBSD//DTD XHTML 1.0 Transitional-Based Extension//EN"
"http://www.FreeBSD.org/XML/share/xml/xhtml10-freebsd.dtd" [
     The FreeBSD Russian Documentation Project

     $FreeBSDru: frdp/www/ru/gnome/docs/example-Makefile.xml,v 1.2 2004/09/21 07:31:07 den Exp $

     Original revision: 1.3
-->

<!DOCTYPE HTML PUBLIC "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension//EN" [
<!ENTITY title "ðÒÏÅËÔ FreeBSD GNOME: ðÒÉÍÅÒÎÙÊ Makefile ÄÌÑ GNOME">
]>

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
      <title>&title;</title>

      <cvs:keyword xmlns:cvs="http://www.FreeBSD.org/XML/CVS">$FreeBSD$</cvs:keyword>
    </head>

    <body class="navinclude.developers">

  <p>äÁÌÅÅ ÐÒÉ×ÏÄÉÔÓÑ ÐÒÉÍÅÒÎÙÊ Makefile ÄÌÑ ÐÏÒÔÁ FreeBSD ÐÒÉÌÏÖÅÎÉÑ
    GNOME.</p>

  <pre>
# New ports collection makefile for:	gnomeapp
# Date created:						27 December 2003
# Whom:								Some GNOME User &lt;&email;@FreeBSD.org&gt;
#
# $FreeBSD$
#

# For this example, assume there was already a gnomeapp in the tree, and that this
# is the GTK+-2 version (i.e. gnomeapp2 versus gnomeapp).
PORTname=		gnomeapp2
PORTVERSION=	&gnomever;.2
MASTER_SITES=	${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR=	sources/${PORTNAME:S/2//}/&gnomever;
DISTname=		${PORTNAME:S/2//}-${PORTVERSION}
DIST_SUBDIR=	gnome2

MAINTAINER=		gnome@FreeBSD.org
COMMENT=		A GNOME app that does some stuff

USE_BZIP2=		yes
USE_X_PREFIX=	yes
USE_LIBTOOL=	yes	# many GNOME apps need libtool, and most need GNU configure
USE_GMAKE=		yes # same with GNU make
# This is for i18n:
CONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
				LDFLAGS="-L${LOCALBASE}/lib"
USE_GNOME=		gnomehack gnometarget lthack gtk20

# This application can dock in the GNOME panel, or it can not.
# But there's no need to build support for it if the GNOME panel
# libraries are not installed, so only build GNOME panel support
# if the gnomepanel port is already installed.
WANT_GNOME=		yes

.include &lt;bsd.port.pre.mk&gt;

.if ${HAVE_GNOME:Mgnomepanel}!=""
USE_GNOME+= 		gnomepanel
CONFIGURE_ARGS+=    --with-gnome
PKGNAMESUFFIX=  	-gnome
.else
CONFIGURE_ARGS+=    --without-gnome
.endif

# Given all the above code, the package name is either "gnomeapp2-&gnomever;.2-gnome" or
# "gnomeapp2-&gnomever;.2", depending upon whether you want gnomepanel support. The downloaded
# distfile will be "gnomeapp-&gnomever;.2.tar.bz2."

.include &lt;bsd.port.post.mk&gt;
  </pre>


  </body>
</html>