summaryrefslogtreecommitdiff
path: root/audio/maplay
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-09-27 02:18:21 +0000
committerSteve Price <steve@FreeBSD.org>1999-09-27 02:18:21 +0000
commitb7734feec4256abe8da82b81ce8ba23ed392c2a3 (patch)
treee195bd7aeae6f6f772b10167cfd55dd027165c93 /audio/maplay
parentUpdate to version 1.4. (diff)
Update the MASTER_SITE and tweak the build a bit.
PR: 13660 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'audio/maplay')
-rw-r--r--audio/maplay/Makefile11
-rw-r--r--audio/maplay/files/patch-ab12
2 files changed, 8 insertions, 15 deletions
diff --git a/audio/maplay/Makefile b/audio/maplay/Makefile
index f169d7dc36d8..e954b1b5abc8 100644
--- a/audio/maplay/Makefile
+++ b/audio/maplay/Makefile
@@ -9,7 +9,7 @@
DISTNAME= maplay1_2
PKGNAME= maplay-1.2
CATEGORIES= audio
-MASTER_SITES= ftp://ftp.iuma.com/audio_utils/mpeg_players/Workstations/
+MASTER_SITES= http://www.iuma.com/IUMA/ftp/audio_utils/mpeg_players/Workstations/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
@@ -17,11 +17,16 @@ MAINTAINER= ports@FreeBSD.org
NO_WRKSUBDIR= yes
PATCH_STRIP= -p2
-pre-configure:
+do-build:
@(cd ${WRKSRC}; make pre-install)
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/maplay ${PREFIX}/bin
+
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/maplay
- @${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/maplay
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/maplay
+.endif
.include <bsd.port.mk>
diff --git a/audio/maplay/files/patch-ab b/audio/maplay/files/patch-ab
index 0007783c7492..eb0a46814157 100644
--- a/audio/maplay/files/patch-ab
+++ b/audio/maplay/files/patch-ab
@@ -17,15 +17,3 @@
@./configuration.sh
all: maplay
-***************
-*** 47,52 ****
---- 47,55 ----
- maplay: $(OBJS)
- $(COMPILER) $(CFLAGS) $(OBJS) -o $@ $(LIBRARIES) -lm
- -strip $@
-+
-+ install: all
-+ ${INSTALL} -s -c -m 755 maplay ${PREFIX}/bin
-
- .cc.o:
- $(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@