aboutsummaryrefslogtreecommitdiffstats
path: root/audio/tosha
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-16 19:14:26 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-16 19:14:26 +0800
commit09db7799ec9b58278dd38b3345173f6dc03def66 (patch)
treea16785fce12e9e33a08dc6b78c52f93f2ccdaacf /audio/tosha
parent5eea45984b98c3090bbd1a3f051164236c309e32 (diff)
downloadfreebsd-ports-gnome-09db7799ec9b58278dd38b3345173f6dc03def66.tar.gz
freebsd-ports-gnome-09db7799ec9b58278dd38b3345173f6dc03def66.tar.zst
freebsd-ports-gnome-09db7799ec9b58278dd38b3345173f6dc03def66.zip
- Support staging
- Add LICENSE
Diffstat (limited to 'audio/tosha')
-rw-r--r--audio/tosha/Makefile9
-rw-r--r--audio/tosha/files/patch-Makefile20
-rw-r--r--audio/tosha/pkg-plist7
3 files changed, 29 insertions, 7 deletions
diff --git a/audio/tosha/Makefile b/audio/tosha/Makefile
index f7b624918912..9056e44eec96 100644
--- a/audio/tosha/Makefile
+++ b/audio/tosha/Makefile
@@ -5,17 +5,12 @@ PORTNAME= tosha
PORTVERSION= 0.6
PORTREVISION= 1
CATEGORIES= audio
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITES= LOCAL
MASTER_SITE_SUBDIR= markp
MAINTAINER= ports@FreeBSD.org
COMMENT= Read CD digital audio and video data via the SCSI bus
-MAN1= pcmfade.1 pcmplay.1 tosha.1
-MANCOMPRESSED= yes
-NO_STAGE= yes
-
-PLIST_FILES= bin/tosha bin/pcmplay \
- bin/pcmfade etc/tosharc
+LICENSE= BSD3CLAUSE
.include <bsd.port.mk>
diff --git a/audio/tosha/files/patch-Makefile b/audio/tosha/files/patch-Makefile
new file mode 100644
index 000000000000..5d18495e6a83
--- /dev/null
+++ b/audio/tosha/files/patch-Makefile
@@ -0,0 +1,20 @@
+--- Makefile.orig 1998-12-16 13:34:09.000000000 +0100
++++ Makefile 2014-02-16 12:07:47.814820287 +0100
+@@ -54,14 +54,10 @@
+
+ install: $(BINS)
+ strip $(BINS)
+- install -s -g bin -o bin -m 755 $(BINS) $(BINDIR)
+- install -c -g bin -o bin -m 644 tosharc $(ETCDIR)
++ install -s -g bin -o bin -m 755 $(BINS) $(DESTDIR)$(BINDIR)
++ install -c -g bin -o bin -m 644 tosharc $(DESTDIR)$(ETCDIR)
+ install -c -g bin -o bin -m 644 tosha.1 pcmplay.1 pcmfade.1 \
+- $(MANDIR)/man1
+-.if !defined(NOMANCOMPRESS)
+- cd $(MANDIR)/man1 ; \
+- $(GZIP_CMD) tosha.1 pcmplay.1 pcmfade.1
+-.endif
++ $(DESTDIR)$(MANDIR)/man1
+
+ clean:
+ rm -f $(OBJS) *core $(BINS)
diff --git a/audio/tosha/pkg-plist b/audio/tosha/pkg-plist
new file mode 100644
index 000000000000..9209a7f27b8f
--- /dev/null
+++ b/audio/tosha/pkg-plist
@@ -0,0 +1,7 @@
+bin/pcmfade
+bin/pcmplay
+bin/tosha
+etc/tosharc
+man/man1/pcmfade.1.gz
+man/man1/pcmplay.1.gz
+man/man1/tosha.1.gz