# -*- 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 # $Id: Portfile 147132 2016-03-29 14:13:22Z khindenburg@macports.org $ PortSystem 1.0 name xmp categories audio platforms darwin maintainers dcarmichael.net:dcarmich description Extended Module Player homepage http://xmp.sourceforge.net/ build.type gnu # Disable silent rules. build.args-append V=1 # Cannot turn off dependency tracking for libxmp. universal_variant no if {${subport} eq ${name}} { version 4.0.11 revision 0 license GPL-2+ long_description The Extended Module Player is a portable \ command-line module player for Unix and \ Unix-like systems. It plays over 90 mainstream \ and obscure module formats from Amiga, Atari, \ Acorn, Apple IIgs and PC, including Protracker \ (MOD), Scream Tracker 3 (S3M), Fast Tracker II \ (XM), and Impulse Tracker (IT). master_sites sourceforge:project/xmp/xmp/${version} checksums rmd160 ea7aaaf49afe63db92be2e436fc04a3e5755890d \ sha256 ba09beefb9bc67cd01bba96e6c79c4896f9d99161ea41ddbfee0e25db09e7991 depends_build port:pkgconfig depends_lib port:libxmp set etc_xmp ${prefix}/etc/xmp post-destroot { move ${destroot}${etc_xmp}/modules.conf \ ${destroot}${etc_xmp}/modules.conf.default move ${destroot}${etc_xmp}/xmp.conf \ ${destroot}${etc_xmp}/xmp.conf.default } post-activate { if {![file exists ${etc_xmp}/modules.conf]} { copy ${etc_xmp}/modules.conf.default ${etc_xmp}/modules.conf } if {![file exists ${etc_xmp}/xmp.conf]} { copy ${etc_xmp}/xmp.conf.default ${etc_xmp}/xmp.conf } } } else { livecheck.type none } subport libxmp { version 4.3.12 revision 0 license LGPL-2.1+ long_description Libxmp is a library that renders module files to \ PCM data. It supports over 90 mainstream and \ obscure module formats including Protracker \ (MOD), Scream Tracker 3 (S3M), Fast Tracker II \ (XM), and Impulse Tracker (IT). master_sites sourceforge:project/xmp/libxmp/${version} distname ${subport}-${version} checksums rmd160 7c3c5cdc197d321f829f72d76a0e821c9df06c51 \ sha256 15ce87d9ad6ae81b979f997a4439c5c21f97e2ef14f9d5e6f6cdd0feba6b6694 test.run yes test.target check livecheck.type sourceforge livecheck.distname ${subport} }