aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-09-27 10:18:21 +0800
committersteve <steve@FreeBSD.org>1999-09-27 10:18:21 +0800
commit00ff930ac2bdf7c7e9f1713b331516af420f4a7b (patch)
treed20b3e727e14c3bca45aa2db37b80a83a6ecf63e /audio
parent5035272542e5adcc5e22dc990222aa88a2ff543a (diff)
downloadfreebsd-ports-gnome-00ff930ac2bdf7c7e9f1713b331516af420f4a7b.tar.gz
freebsd-ports-gnome-00ff930ac2bdf7c7e9f1713b331516af420f4a7b.tar.zst
freebsd-ports-gnome-00ff930ac2bdf7c7e9f1713b331516af420f4a7b.zip
Update the MASTER_SITE and tweak the build a bit.
PR: 13660 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'audio')
-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 $@