View | Details | Raw Unified | Return to bug 176455
Collapse All | Expand All

(-)book.xml (-2 / +12 lines)
Lines 5749-5762 Link Here
5749
5749
5750
	<programlisting>GNU_CONFIGURE=		yes
5750
	<programlisting>GNU_CONFIGURE=		yes
5751
5751
5752
.if !defined(WITHOUT_NLS)
5752
.include &lt;bsd.port.options.mk&gt;
5753
5754
.if ${PORT_OPTIONS:MNLS}
5753
USE_GETTEXT=		yes
5755
USE_GETTEXT=		yes
5754
PLIST_SUB+=		NLS=""
5756
PLIST_SUB+=		NLS=""
5755
.else
5757
.else
5756
CONFIGURE_ARGS+=	--disable-nls
5758
CONFIGURE_ARGS+=	--disable-nls
5757
PLIST_SUB+=		NLS="@comment "
5759
PLIST_SUB+=		NLS="@comment "
5758
.endif</programlisting>
5760
.endif
5759
5761
5762
.include &lt;bsd.port.mk&gt;</programlisting>
5763
5760
	<para>The next item on your to-do list is to arrange so that
5764
	<para>The next item on your to-do list is to arrange so that
5761
	  the message catalog files are included in the packing list
5765
	  the message catalog files are included in the packing list
5762
	  conditionally.  The <filename>Makefile</filename> part of
5766
	  conditionally.  The <filename>Makefile</filename> part of
Lines 7599-7604 Link Here
7599
7603
7600
      <programlisting>PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}</programlisting>
7604
      <programlisting>PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}</programlisting>
7601
7605
7606
      <para>Generally, if <makevar>PKGNAMEPREFIX</makevar> is set, the
7607
	port should require a <literal>py-</literal> port origin prefix.
7608
	For example, <filename>
7609
	/usr/ports/<replaceable>sysutils/py-myport</replaceable>
7610
	</filename></para>
7611
7602
      <table frame="none">
7612
      <table frame="none">
7603
	<title>Most Useful Variables for Ports That Use Python</title>
7613
	<title>Most Useful Variables for Ports That Use Python</title>

Return to bug 176455