- Support staging

- Add LICENSE
This commit is contained in:
Emanuel Haupt 2014-02-16 11:14:26 +00:00
parent ef0dc9a97a
commit dde9641cda
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344532
3 changed files with 29 additions and 7 deletions

View file

@ -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>

View file

@ -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)

7
audio/tosha/pkg-plist Normal file
View file

@ -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