diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/maplay/Makefile | 11 | ||||
-rw-r--r-- | audio/maplay/files/patch-ab | 12 |
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 $@ |