aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/en/books/porters-handbook/porting-samplem/_index.po
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/content/en/books/porters-handbook/porting-samplem/_index.po')
-rw-r--r--documentation/content/en/books/porters-handbook/porting-samplem/_index.po210
1 files changed, 210 insertions, 0 deletions
diff --git a/documentation/content/en/books/porters-handbook/porting-samplem/_index.po b/documentation/content/en/books/porters-handbook/porting-samplem/_index.po
new file mode 100644
index 0000000000..81dd3322fb
--- /dev/null
+++ b/documentation/content/en/books/porters-handbook/porting-samplem/_index.po
@@ -0,0 +1,210 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR The FreeBSD Project
+# This file is distributed under the same license as the FreeBSD Documentation package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: FreeBSD Documentation VERSION\n"
+"POT-Creation-Date: 2022-09-09 20:51-0300\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: YAML Front Matter: description
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:1
+#, no-wrap
+msgid "A sample Makefile that can be used to create a new FreeBSD Port"
+msgstr ""
+
+#. type: YAML Front Matter: title
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:1
+#, no-wrap
+msgid "Chapter 14. A Sample Makefile"
+msgstr ""
+
+#. type: Title =
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:13
+#, no-wrap
+msgid "A Sample Makefile"
+msgstr ""
+
+#. type: Plain text
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:52
+msgid ""
+"Here is a sample [.filename]#Makefile# that can be used to create a new "
+"port. Make sure to remove all the extra comments (ones between brackets)."
+msgstr ""
+
+#. type: Plain text
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:56
+msgid ""
+"The format shown is the recommended one for ordering variables, empty lines "
+"between sections, and so on. This format is designed so that the most "
+"important information is easy to locate. We recommend using crossref:quick-"
+"porting[porting-portlint,portlint] to check the [.filename]#Makefile#."
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:76
+#, no-wrap
+msgid ""
+"[section to describe the port itself and the master site - PORTNAME\n"
+" and PORTVERSION or the DISTVERSION* variables are always first,\n"
+" followed by CATEGORIES, and then MASTER_SITES, which can be followed\n"
+" by MASTER_SITE_SUBDIR. PKGNAMEPREFIX and PKGNAMESUFFIX, if needed,\n"
+" will be after that. Then comes DISTNAME, EXTRACT_SUFX and/or\n"
+" DISTFILES, and then EXTRACT_ONLY, as necessary.]\n"
+"PORTNAME=\txdvi\n"
+"DISTVERSION=\t18.2\n"
+"CATEGORIES=\tprint\n"
+"[do not forget the trailing slash (\"/\")!\n"
+" if not using MASTER_SITE_* macros]\n"
+"MASTER_SITES=\t${MASTER_SITE_XCONTRIB}\n"
+"MASTER_SITE_SUBDIR=\tapplications\n"
+"PKGNAMEPREFIX=\tja-\n"
+"DISTNAME=\txdvi-pl18\n"
+"[set this if the source is not in the standard \".tar.gz\" form]\n"
+"EXTRACT_SUFX=\t.tar.Z\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:83
+#, no-wrap
+msgid ""
+"[section for distributed patches -- can be empty]\n"
+"PATCH_SITES=\tftp://ftp.sra.co.jp/pub/X11/japanese/\n"
+"PATCHFILES=\txdvi-18.patch1.gz xdvi-18.patch2.gz\n"
+"[If the distributed patches were not made relative to ${WRKSRC},\n"
+" this may need to be tweaked]\n"
+"PATCH_DIST_STRIP=\t-p1\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:92
+#, no-wrap
+msgid ""
+"[maintainer; *mandatory*! This is the person who is volunteering to\n"
+" handle port updates, build breakages, and to whom a users can direct\n"
+" questions and bug reports. To keep the quality of the Ports Collection\n"
+" as high as possible, we do not accept new ports that are assigned to\n"
+" \"ports@FreeBSD.org\".]\n"
+"MAINTAINER=\tasami@FreeBSD.org\n"
+"COMMENT=\tDVI Previewer for the X Window System\n"
+"WWW=\t\thttp://xdvi.sourceforge.net/\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:96
+#, no-wrap
+msgid ""
+"[license -- should not be empty]\n"
+"LICENSE=\tBSD2CLAUSE\n"
+"LICENSE_FILE=\t${WRKSRC}/LICENSE\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:99
+#, no-wrap
+msgid ""
+"[dependencies -- can be empty]\n"
+"RUN_DEPENDS=\tgs:print/ghostscript\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:104
+#, no-wrap
+msgid ""
+"[If it requires GNU make, not /usr/bin/make, to build...]\n"
+"USES= gmake\n"
+"[If it is an X application and requires \"xmkmf -a\" to be run...]\n"
+"USES= imake\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:114
+#, no-wrap
+msgid ""
+"[this section is for other standard bsd.port.mk variables that do not]\n"
+" belong to any of the above]\n"
+"[If it asks questions during configure, build, install...]\n"
+"IS_INTERACTIVE=\tyes\n"
+"[If it extracts to a directory other than ${DISTNAME}...]\n"
+"WRKSRC=\t\t${WRKDIR}/xdvi-new\n"
+"[If it requires a \"configure\" script generated by GNU autoconf to be run]\n"
+"GNU_CONFIGURE=\tyes\n"
+"[et cetera.]\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:120
+#, no-wrap
+msgid ""
+"[If it requires options, this section is for options]\n"
+"OPTIONS_DEFINE=\tDOCS EXAMPLES FOO\n"
+"OPTIONS_DEFAULT=\tFOO\n"
+"[If options will change the files in plist]\n"
+"OPTIONS_SUB=yes\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:122
+#, no-wrap
+msgid "FOO_DESC=\t\tEnable foo support\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:124
+#, no-wrap
+msgid "FOO_CONFIGURE_ENABLE=\tfoo\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:127
+#, no-wrap
+msgid ""
+"[non-standard variables to be used in the rules below]\n"
+"MY_FAVORITE_RESPONSE=\t\"yeah, right\"\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:131
+#, no-wrap
+msgid ""
+"[then the special rules, in the order they are called]\n"
+"pre-fetch:\n"
+"\ti go fetch something, yeah\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:134
+#, no-wrap
+msgid ""
+"post-patch:\n"
+"\ti need to do something after patch, great\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:137
+#, no-wrap
+msgid ""
+"pre-install:\n"
+"\tand then some more stuff before installing, wow\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:139
+#, no-wrap
+msgid "[and then the epilogue]\n"
+msgstr ""
+
+#. type: delimited block . 4
+#: documentation/content/en/books/porters-handbook/porting-samplem/_index.adoc:141
+#, no-wrap
+msgid ".include <bsd.port.mk>\n"
+msgstr ""