Bug 32003

Summary: [new port] www/ump - The Unix Midi Plugin
Product: Ports & Packages Reporter: Li-Lun Wang <llwang>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
ump.tar.gz none

Description Li-Lun Wang 2001-11-15 13:40:00 UTC
There is a UNIX MIDI plugin based on TiMidity++ available. However,
there is currently no binary built for native ELF FreeBSD. This port
build the Unix MIDI Plugin for native ELF mozilla. However, I could not
make the MOTIF interface work, and thus I disabled the interface. This
is plugin works well if we do not try to control the player.
Comment 1 Li-Lun Wang 2001-11-22 18:48:56 UTC
The Makefile in I submitted was too badly formed and did not pass
the portlint check. I enclose a patch for Makefile so that it is
better formed.

--- Makefile	Fri Nov 23 02:37:54 2001
+++ Makefile.orig	Fri Nov 23 02:27:58 2001
@@ -6,27 +6,28 @@
 #
 
 PORTNAME=	ump
+
 PORTVERSION=	1.10
+
 CATEGORIES=	www
+
+MANTAINER=	llwang@infor.org
+
 MASTER_SITES=	http://www.goice.co.jp/member/mo/timidity/dist/	\
 		http://www.geocities.com/SiliconValley/Lab/2826/1-10/	\
 		http://pubweb.bnl.gov/people/hoff/midi/1.10/	\
 		ftp://ftp.netscape.com/pub/sdk/plugin/unix/
-DISTFILES=	${BZ2DIST} ${ZDIST}
-
-PATCH_SITES=	http://www.goice.co.jp/member/mo/timidity/dist/
-PATCHFILES=	ump-patch-1.gz ump-patch-2.gz ump-patch-3.gz ump-patch-4.gz
-
-MAINTAINER=	llwang@infor.org
-
-LIB_DEPENDS+=	Xpm.4:${PORTSDIR}/graphics/xpm
-RUN_DEPENDS+=	${LOCALBASE}/bin/timidity:${PORTSDIR}/audio/timidity++	\
-		${X11BASE}/bin/mozilla:${PORTSDIR}/www/mozilla
 
 BZ2DIST=	TiMidity++-2.10.4.tar.bz2
 ZDIST=		unix-sdk-3.0b5.tar.Z ump_with_volume.tar.Z timdiffs.tar.Z
+DISTFILES=	${BZ2DIST} ${ZDIST}
+		
+PATCH_SITES=	http://www.goice.co.jp/member/mo/timidity/dist/
+
+PATCHFILES=	ump-patch-1.gz ump-patch-2.gz ump-patch-3.gz ump-patch-4.gz
 
 CONFIGURE_ARGS+=	--enable-ump
+
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_XLIB=	yes
@@ -39,6 +40,11 @@
 # USE_MOTIF=	yes
 # CONFIGURE_ENV=	MOTIFLIB="${MOTIFLIB}"
 
+LIB_DEPENDS+=	Xpm.4:${PORTSDIR}/graphics/xpm
+
+RUN_DEPENDS+=	${LOCALBASE}/bin/timidity:${PORTSDIR}/audio/timidity++	\
+		${X11BASE}/bin/mozilla:${PORTSDIR}/www/mozilla
+
 .include <bsd.port.pre.mk>
 
 .if defined(HAVE_ESOUND)
@@ -72,7 +78,7 @@
 	@${SED} -e 's^m_so_libs = $$^m_so_libs = -L${X11BASE}/lib ${MOTIFLIB} -lXt -lXext -lSM -lICE -lX11 ^' \
 		-e 's^dynamic_targets = $$^dynamic_targets = interface_m.so^' \
 		${WRKSRC}/interface/Makefile.orig > ${WRKSRC}/interface/Makefile
-	@cd ${WRKSRC}; ${SETENV} CONFIG_HEADERS='' CONFIG_FILES=ump/Makefile ${SH} ./config.status
+	@cd ${WRKSRC}; env CONFIG_HEADERS='' CONFIG_FILES=ump/Makefile /bin/sh ./config.status
 
 do-build:
 	@cd ${WRKSRC}/ump; ${GMAKE} ump


-- 
 /-------\      /-\     /--------\
 \--\ /--/      | |     \--\ /---/
    | |    /----/ \----\/--/ \---\
  /-/ \-\  \----/ /----/\--\ /---/
  \-\ /-/      /  \     /--/ \---\
    | |       / /\ \    \--\ /---/ /\
/---/ \---\/-/ /  \ \---\  | \----/ |
\---------/\--/    \----/  \--------/
  e-mail address: llwang@infor.org
Comment 2 Ying-Chieh Liao freebsd_committer freebsd_triage 2001-11-24 18:53:30 UTC
State Changed
From-To: open->closed

committed, thanks