Import of pkgsrc-2015Q3

This commit is contained in:
2015-10-03 03:37:01 -07:00
committed by Lionel Sambuc
parent f641581404
commit 9d819b6d54
7578 changed files with 228314 additions and 80018 deletions

View File

@@ -0,0 +1,6 @@
Schism Tracker is a free reimplementation of Impulse Tracker, a program
used to create high quality music without the requirements of specialized,
expensive equipment, and with a unique "finger feel" that is difficult to
replicate in part. The player is based on a highly modified version of
the Modplug engine, with a number of bugfixes and changes to improve IT
playback.

View File

@@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.1 2015/09/11 12:35:19 wiz Exp $
# The upstream distfile (http://schismtracker.org/hg/archive/default.tar.bz2)
# is a repository snapshot and as such a moving target.
# Thus it's repackaged (adding a timestamp) and mirrored.
DISTNAME= schismtracker-20150911005204
CATEGORIES= audio
MASTER_SITES= http://penenen.de/
EXTRACT_SUFX= .tgz
MAINTAINER= fstd.lkml@gmail.com
HOMEPAGE= http://schismtracker.org/
COMMENT= Clone of the good old Impulse Tracker
LICENSE= gnu-gpl-v2
USE_TOOLS+= aclocal autoheader autoconf automake
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= yes
pre-configure:
set -e; cd ${WRKSRC}; \
aclocal; autoheader; automake -a --foreign -i; autoconf
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2015/09/11 12:35:19 wiz Exp $
bin/schismtracker
man/man1/schismtracker.1

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2015/09/11 12:35:19 wiz Exp $
SHA1 (schismtracker-20150911005204.tgz) = 08d7efeb17341125f0825c16f2879eb278a7db98
RMD160 (schismtracker-20150911005204.tgz) = 5c74cc835911f6c7fe3dc641dbb034211bf39cdf
Size (schismtracker-20150911005204.tgz) = 1066449 bytes
SHA1 (patch-Makefile.am) = 1b3cd9c9bef15fe8cc8da0bfccf904bd35da188b
SHA1 (patch-configure.ac) = a0421d4cf44f0a53b6fecf1c7476e3f66b4e188c

View File

@@ -0,0 +1,22 @@
$NetBSD: patch-Makefile.am,v 1.1 2015/09/11 12:35:19 wiz Exp $
=========================================================
This patch removes the hardwired -ldl which is a Linuxism
(see also patch-configure.ac)
This patch has been submitted upstream
http://schismtracker.org/scdev/read/1978/
=========================================================
--- Makefile.am.orig Sun Jul 05 12:54:41 2015 -0400
+++ Makefile.am Thu Sep 10 00:35:19 2015 +0200
@@ -393,8 +393,3 @@
schismtracker_DEPENDENCIES = $(files_windres)
schismtracker_LDADD = $(lib_asound) $(lib_win32) $(SDL_LIBS) $(LIBM)
-
-if ! USE_WIN32
-schismtracker_LDADD += -ldl
-endif
-

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-configure.ac,v 1.1 2015/09/11 12:35:19 wiz Exp $
=============================================================
This patch fixes log2(3) detection which failed because just
AC_CHECK_FUNCS(log2) fails to use -lm.
Additionally, libdl is properly checked for so that it can be
de-hardcoded from Makefile.am (see patch-Makefile.am)
This patch has been submitted upstream
http://schismtracker.org/scdev/read/1978/
=============================================================
--- configure.ac.orig Sun Jul 05 12:54:41 2015 -0400
+++ configure.ac Thu Sep 10 00:35:19 2015 +0200
@@ -56,6 +56,10 @@
dnl Check for SDL libs
AM_PATH_SDL(1.2.10, , AC_MSG_ERROR([*** SDL version >= 1.2.10 not found.]))
+dnl Libs
+AC_CHECK_LIB([m], [log2])
+AC_CHECK_LIB([dl], [dlopen])
+
dnl Functions
AC_CHECK_FUNCS(strchr memmove strerror strtol strcasecmp strncasecmp strverscmp stricmp strnicmp strcasestr strptime asprintf vasprintf memcmp mmap nice unsetenv dup fnmatch log2 mkstemp)
AM_CONDITIONAL([NEED_ASPRINTF], [test "$ac_cv_func_asprintf" = "no"])