Ticket #64235: Portfile

File Portfile, 1.4 KB (added by jasonliu-- (Jason Liu), 3 years ago)

Since I am still working on the portfile, I'm including a minimized version of the portfile that demonstrates the error

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2
3PortSystem          1.0
4PortGroup           github 1.0
5
6github.setup        Secretchronicles TSC 2.1.0 v
7name                secretchronicles
8categories          games
9license             GPL-3+
10maintainers         @jasonliu-- openmaintainer
11
12homepage            https://${name}.org/
13description         The Secret Chronicles of Dr. M., a 2-D \
14                    sidescrolling platform game
15long_description    The Secret Chronicles of Dr. M. (TSC) is a \
16                    two-dimensional sidescrolling platform game. The \
17                    game features a rich set of levels, plus an \
18                    advanced level editor that allows you to create \
19                    your own levels.
20
21# Tinyclipboard is not supported on macOS. The solution?
22# Backport patch: Replace tinyclipboard with SFML
23# See: https://github.com/Secretchronicles/TSC/commit/48f981f3ff459f742d5f30596e7866ae4b9005f7
24patch_sites             ${github.homepage}
25patch_sites.mirror_subdir commit
26#patch_sites            ${github.homepage}/${patch_sites.mirror_subdir}
27patchfiles-append       48f981f3ff459f742d5f30596e7866ae4b9005f7.patch
28checksum.skip yes
29
30### The current code will generate a "404 Not Found" error on the
31### patch file. To demonstrate it downloading the file successfully,
32### uncomment the second patch_sites line and comment out the first one.