393 Commits

Author SHA1 Message Date
rsadowski 676613ea6f Remove gcc3
Feedback sthen@, tweak and OK jca@
2025-10-24 14:25:34 +00:00
sthen 4e575d45d5 poison NTLIB (misspelling of WANTLIB) 2025-07-25 10:33:16 +00:00
sthen 997a91ae8f poison DIST_TUPLES (with an S) 2025-07-21 15:06:12 +00:00
sthen 14a7206792 poison MODPY_PYTEST_LINK_SO to help me remember that because it's not
specific to pytest, it's actually named MODPY_TEST_LINK_SO

sort lists while there
2025-06-17 16:38:29 +00:00
sthen 4a0a0eca1e support "fdo" in DIST_TUPLE for gitlab.freedesktop.org, ok tb 2025-05-08 10:35:46 +00:00
sthen 28a8f2166d poison old MODPY variables: MODPY_EGG_VERSION, MODPY_FLAVOR.
suggested by landry
2024-12-23 12:44:23 +00:00
sthen 0e4ddf64f5 follow python.port.mk changes 2024-12-21 11:40:34 +00:00
sthen e754c0764e mention autoreconf, provide some examples of common uses of the various
autoconf-related variables as you're likely to find in real ports with
descriptions
2024-05-01 06:51:18 +00:00
thfr cfc112d8f3 use '+=' in DIST_TUPLE example, nudging porters to use this syntax that
makes it easy to combine multiple DIST_TUPLE entries. ok sthen@
2024-01-17 14:44:42 +00:00
sdk ffc4c35c87 Replace GH_* with DIST_TUPLE in Makefile.template
with input from op, sthen.

OK sthen
2023-11-14 09:22:09 +00:00
op b5f486593d zap double empty line 2023-10-15 11:22:01 +00:00
naddy ced56e4400 poison MASTER_SITES 2023-09-29 09:24:58 +00:00
espie 0d9508d19d bye bye MASTER*, you served us well (no change in dump-vars) 2023-09-27 21:41:16 +00:00
espie 033d7628d3 MASTER_SITES -> SITES 2023-09-05 13:53:36 +00:00
espie 16ba8bbe17 use the DISTFILES.sufx/PATCHFILES.sufx syntax instead of deprecated
MASTER_SITES0-9
2023-09-04 11:43:15 +00:00
bentley 3254b9a274 Consistent whitespace around DEBUG_PACKAGES. 2023-09-04 09:16:23 +00:00
thfr 007c0b7171 update MODPY entries to point people for new python ports to use
MODPY_PYBUILD={setuptools,...} instead of outdated MODPY_SETUPTOOLS=Yes.
Also remove instructions for python2-only ports as new ports are
expected to be python3(+?) now.
with input and ok sthen@
2023-09-02 09:19:22 +00:00
sthen eef139245b poison BUILD/LIB/RUN_DEPEMDS 2023-07-15 21:09:33 +00:00
namn ba27ad5b16 typo and add period 2023-04-28 22:06:56 +00:00
sthen 23e8f8fbbf poison MODPY_BUILD (var is MODPY_PYBUILD) 2022-12-09 16:23:05 +00:00
sthen ec581c1c5d rc.template should use 'undefined or "YES' not NO for rc_bg. ok aja@ 2022-09-05 08:24:17 +00:00
ajacoutot c3e29f3e4e Adapt template after recent rc_configtest changes. 2022-09-02 22:35:15 +00:00
jca 802832ee11 Poison LIB_DEPEDNS 2022-08-31 08:55:54 +00:00
ajacoutot aef1568c5d Add rc_configtest. 2022-08-29 19:19:34 +00:00
ajacoutot a0483a6317 Update rc.template after recent rc.subr changes.
prodded by Raf Czlonka
2022-06-08 16:19:53 +00:00
ajacoutot e7bbabc9cd Remove manual do-gen example now that we have autoreconf.
ok sthen@
2022-04-02 10:13:29 +00:00
naddy 9a92f9572f drop $OpenBSD$ keyword from template files
ok espie@
2022-03-06 20:10:00 +00:00
sthen eaae4a01b6 add .poison COMPILERS to mk.conf.template (should be COMPILER) 2022-02-17 17:21:50 +00:00
espie 7bbe84c156 handled properly by bsd.port.mk now 2021-11-17 10:40:06 +00:00
kn f0496a9e1c SEPARATE_BUILD only takes yes/no, flavored is no more 2021-11-09 13:43:15 +00:00
ajacoutot 9c1c161cc4 Cope with recent changes. 2021-05-02 09:06:44 +00:00
naddy f11aa9cbdf fetch_cmd: switch argument parsing from the deprecated getopt to getopts
ok espie@
2021-04-30 20:20:02 +00:00
espie b0b45b332a let's work in-tree on that one
skeleton script for people who want to override FETCH_CMD but don't
know exactly what ftp(1) options pkg_add/bsd.port.mk/dpb are going to
want.

A bit of feedback from sthen@, more to come most probably
2021-04-28 16:42:30 +00:00
sthen 44d7ce3bb9 add FIX_CRLF_FILES, from tb@ 2021-02-25 21:59:27 +00:00
sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
sthen ca096aa34b poison some py-related things which are easy to get wrong:
MODPY_ADJFILES (should be MODPY_ADJ_FILES)
MODPY_PYPI (should be MODPY_PI)
2020-12-15 14:52:27 +00:00
abieber 9e0580770b Teach portgen how to speak Go!
With this a port can be easily generated for Go applications that support Go
modules (there will be a go.mod file in the root of the project).

For example: https://github.com/jrick/domain/blob/master/go.mod

The mod file lists "github.com/jrick/domain" as the module name, so a portgen
command to build the above tool would be:

  portgen go github.com/jrick/domain

OK afresh1@ kmos@
2020-05-15 01:32:48 +00:00
cwen 591d098553 Makefile.template: add a hook to remove MS-DOS line endings in files
needing patches.

Proposed by and OK sthen@
2020-03-22 17:18:01 +00:00
kmos 03e2882de7 Add the common misspelling "MODPY_TEST" (should be "MODPY_PYTEST") to the
poisoned misspellings to help point out when the typo happens.

ok phessler
2019-11-30 18:11:46 +00:00
espie 289bc15185 add DEBUG_* glue
okay sthen@
2019-11-19 12:39:04 +00:00
kmos 62299edbae Add explanatory comments to several entries
ok bcallah@
2019-09-09 19:19:05 +00:00
kmos 11e1f78c30 Add MODPY_EGG_VERSION, MODPY_PI, MODPY_SETUPTOOLS, and
MODPY_VERSION to /usr/ports/infrastructure/templates/Makefile.template.

These are the most common entries that portgen(1) will throw at the
bottom of a generated python port because it doesn't know where it would
go. Adding these will have portgen(1) put them in the appropriate place.

Comment tweaks and ok sthen@
2019-08-08 23:04:22 +00:00
sthen cc50edde66 use simpler text for COMPILER, add COMPILER_LANGS, separate from the standard
dependencies as I found it a bit unclear with everything bunched together

ok aja@ kirby@
2019-07-02 12:03:14 +00:00
kirby 43239ff294 move COMPILER string template and its description to the position
used in most of the ports
ok jca@
2019-07-01 11:35:42 +00:00
espie a1a1007a0b move to new PERMIT 2019-05-31 21:29:52 +00:00
ajacoutot 54c141e2d4 Extend paper cut. 2019-05-09 17:45:05 +00:00
bentley aa8087215f Spaces to tabs. 2019-04-01 07:35:45 +00:00
sthen a2e8cfbcc4 Makefile.template tweaks;
- mention that COMMENT usually starts lower-case
- COMPILER for C++ ports
- mention use of CONFIGURE_STYLE=none to override default from a module
- example do-gen/BUILD_DEPENDS for autogen.sh-type ports

ok kn@, ok/typo fix pamela@
2019-03-03 23:18:37 +00:00
ajacoutot 9d0a6f0ab0 FULLPKGNAME -> PKGSTEM
ok espie@
2018-09-04 13:40:26 +00:00
espie 7c9c836216 network.conf.template -> network.conf
it's never really been used properly
2018-07-16 09:11:31 +00:00