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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | |
---|
6 | github.setup Secretchronicles TSC 2.1.0 v |
---|
7 | name secretchronicles |
---|
8 | categories games |
---|
9 | license GPL-3+ |
---|
10 | maintainers @jasonliu-- openmaintainer |
---|
11 | |
---|
12 | homepage https://${name}.org/ |
---|
13 | description The Secret Chronicles of Dr. M., a 2-D \ |
---|
14 | sidescrolling platform game |
---|
15 | long_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 |
---|
24 | patch_sites ${github.homepage} |
---|
25 | patch_sites.mirror_subdir commit |
---|
26 | #patch_sites ${github.homepage}/${patch_sites.mirror_subdir} |
---|
27 | patchfiles-append 48f981f3ff459f742d5f30596e7866ae4b9005f7.patch |
---|
28 | checksum.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. |
---|