Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
audio/wavplay: update 1.4 → 2.0
  • Loading branch information
AMDmi3 committed Mar 10, 2022
1 parent fe3cd42 commit 4f0caa0
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 351 deletions.
18 changes: 11 additions & 7 deletions audio/wavplay/Makefile
@@ -1,10 +1,9 @@
# Created by: greg

PORTNAME= wavplay
PORTVERSION= 1.4
PORTREVISION= 4
PORTVERSION= 2.0
CATEGORIES= audio
MASTER_SITES= SUNSITE/apps/sound/players/
MASTER_SITES= SF/${PORTNAME}/Release%20Downloads/

MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Wav player and recorder
Expand All @@ -15,13 +14,18 @@ LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386
ONLY_FOR_ARCHS_REASON= does not play sound correctly

CFLAGS+= -D_WANT_SEMUN
USES= autoreconf libtool:build
GNU_CONFIGURE= yes

INSTALL_TARGET= install PREFIX="${STAGEDIR}${PREFIX}"
OPTIONS_DEFINE= X11
OPTIONS_SUB= yes

PLIST_FILES= bin/wavplay bin/wavrec man/man1/${PORTNAME}.1.gz
X11_CONFIGURE_OFF= --enable-nox
X11_USES= localbase:ldflags xorg
X11_USE= XORG=x11,xmu,xt
X11_LIB_DEPENDS= libXm.so:x11-toolkits/lesstif

post-patch:
@${REINPLACE_CMD} -e 's|u_long|u_int|g' ${WRKSRC}/*.c ${WRKSRC}/*.h
@${REINPLACE_CMD} -e 's|machine/soundcard|sys/soundcard|g' ${WRKSRC}/src/*.c

.include <bsd.port.mk>
5 changes: 3 additions & 2 deletions audio/wavplay/distinfo
@@ -1,2 +1,3 @@
SHA256 (wavplay-1.4.tar.gz) = 8e77d48b301fe3224006afff79a249142eeafa756e95dfbc08b1c0c873d0821f
SIZE (wavplay-1.4.tar.gz) = 63549
TIMESTAMP = 1646847643
SHA256 (wavplay-2.0.tar.gz) = 256ea0b581d587b482e0c928869e3896845a5299b8e124c01749b4b9edfeb552
SIZE (wavplay-2.0.tar.gz) = 368945
148 changes: 0 additions & 148 deletions audio/wavplay/files/patch-Makefile

This file was deleted.

24 changes: 0 additions & 24 deletions audio/wavplay/files/patch-client.c

This file was deleted.

24 changes: 0 additions & 24 deletions audio/wavplay/files/patch-file.c

This file was deleted.

45 changes: 0 additions & 45 deletions audio/wavplay/files/patch-main.c

This file was deleted.

24 changes: 0 additions & 24 deletions audio/wavplay/files/patch-msg.c

This file was deleted.

30 changes: 0 additions & 30 deletions audio/wavplay/files/patch-recplay.c

This file was deleted.

24 changes: 0 additions & 24 deletions audio/wavplay/files/patch-server.c

This file was deleted.

10 changes: 10 additions & 0 deletions audio/wavplay/files/patch-src_Makefile.am
@@ -0,0 +1,10 @@
--- src/Makefile.am.orig 2011-06-03 00:25:27 UTC
+++ src/Makefile.am
@@ -1,7 +1,5 @@
# src/Makefile.am for z9basic

-dist_pkgdata_DATA = wavplay.1
-
man1_MANS = wavplay.1

if WAVPLAY_NOX
11 changes: 0 additions & 11 deletions audio/wavplay/files/patch-wavplay.h

This file was deleted.

0 comments on commit 4f0caa0

Please sign in to comment.