Initial import, synchronized with English 1.3
This commit is contained in:
parent
3d0feed9bf
commit
9e55c98e88
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=19468
1 changed files with 78 additions and 0 deletions
78
ru/gnome/docs/example-Makefile.sgml
Normal file
78
ru/gnome/docs/example-Makefile.sgml
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
<!--
|
||||
The FreeBSD Russian Documentation Project
|
||||
|
||||
$FreeBSDru: frdp/www/ru/gnome/docs/example-Makefile.sgml,v 1.1 2004/01/04 09:28:23 andy Exp $
|
||||
|
||||
Original revision: 1.3
|
||||
-->
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" [
|
||||
<!ENTITY base CDATA "../../..">
|
||||
<!ENTITY date "$FreeBSD$">
|
||||
<!ENTITY title "ðÒÏÅËÔ FreeBSD GNOME: ðÒÉÍÅÒÎÙÊ Makefile ÄÌÑ GNOME">
|
||||
<!ENTITY % gnomeincludes SYSTEM "../includes.sgml"> %gnomeincludes;
|
||||
<!ENTITY % includes SYSTEM "../../includes.sgml"> %includes;
|
||||
]>
|
||||
|
||||
<html>
|
||||
&header;
|
||||
|
||||
<p>äÁÌÅÅ ÐÒÉ×ÏÄÉÔÓÑ ÐÒÉÍÅÒÎÙÊ Makefile ÄÌÑ ÐÏÒÔÁ FreeBSD ÐÒÉÌÏÖÅÎÉÑ
|
||||
GNOME.</p>
|
||||
|
||||
<pre>
|
||||
# New ports collection makefile for: gnomeapp
|
||||
# Date created: 27 December 2003
|
||||
# Whom: Some GNOME User <&email;@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD: www/en/gnome/docs/example-Makefile.sgml,v 1.3 2003/12/28 05:18:45 adamw Exp $
|
||||
#
|
||||
|
||||
# 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 <bsd.port.pre.mk>
|
||||
|
||||
.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 <bsd.port.post.mk>
|
||||
</pre>
|
||||
|
||||
&footer;
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue