The original problem of the port seemingly 'looping' was simply because the
Makefile is included in the original
theZoo-0.60.tar.gz distfile.
I'll show you. I've set up your port:
Code:
dice@fbsd-test:~/Sources/forum-port % ll
total 9
-rw-r--r-- 1 dice dice 1432 Oct 24 23:23 Makefile
-rw-r--r-- 1 dice dice 156 Oct 24 22:48 distinfo
make fetch
fetches the file, so I have it:
Code:
dice@fbsd-test:~/Sources/forum-port % ls -al /usr/ports/distfiles/theZoo-0.60.tar.gz
-rw-r--r-- 1 root wheel 919235180 Oct 17 15:13 /usr/ports/distfiles/theZoo-0.60.tar.gz
make extract
will extract the file in the 'work' directory.
Code:
dice@fbsd-test:~/Sources/forum-port % make extract
===> License GPLv3 accepted by the user
===> theZoo-0.60 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by theZoo-0.60 for building
===> Extracting for theZoo-0.60
=> SHA256 Checksum OK for theZoo-0.60.tar.gz.
dice@fbsd-test:~/Sources/forum-port % ls -al work/
total 10
drwxr-xr-x 3 dice dice 4 Oct 27 21:46 .
drwxr-xr-x 3 dice dice 5 Oct 27 21:46 ..
-rw-r--r-- 1 dice dice 0 Oct 27 21:46 .extract_done.theZoo._usr_local
drwxr-xr-x 5 dice dice 13 Oct 17 15:12 theZoo-0.60
Code:
dice@fbsd-test:~/Sources/forum-port % ls -al work/theZoo-0.60/
total 55
drwxr-xr-x 5 dice dice 13 Oct 17 15:12 .
drwxr-xr-x 3 dice dice 4 Oct 27 21:46 ..
-rw-r--r-- 1 dice dice 6039 Oct 10 20:48 CODE-OF-CONDUCT.md
-rw-r--r-- 1 dice dice 2561 Oct 10 20:48 CONTRIBUTING.md
-rw-r--r-- 1 dice dice 471 Oct 10 20:48 LICENSE.md
-rw-r--r-- 1 dice dice 1129 Oct 17 15:12 Makefile
-rw-r--r-- 1 dice dice 7041 Oct 10 20:48 README.md
drwxr-xr-x 2 dice dice 5 Oct 16 19:22 conf
drwxr-xr-x 8 dice dice 22 Oct 16 19:29 imports
drwxr-xr-x 4 dice dice 4 Oct 10 20:48 malware
-rw-r--r-- 1 dice dice 3436 Oct 10 20:48 prep_file.py
-rw-r--r-- 1 dice dice 18 Oct 10 20:48 requirements.txt
-rwxr-xr-x 1 dice dice 3652 Oct 16 01:32 theZoo.py
There is a
Makefile there. The 'default' action of a port
Makefile is to extract the distfile(s) and run
make
in the ${WRKSRC} directory. Which would blissfully start to build the
Makefile in the
work/theZoo-0.60/ directory, this is more or less a copy of the port's
Makefile. So it will try to fetch and extract the distfile, etc.
Regarding RUN_DEPENDS, I had to fiddle a lot with spaces and tabs. Somehow copy/pasting seem to have introduced a lot of extra spaces at the end of the lines.
make(1) is very finicky about spaces and tabs.
Code:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.0:net/py-urllib3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyminizip>0:archivers/py-pyminizip@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
Make sure there are no spaces
after the
\
at the end of the lines. Make sure there is no extra whitespace at the end of
any line actually.