Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 19:50:12 -0800 (PST)
From:      cpiazza@home.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/10248: [new port] xhippo 
Message-ID:  <199902250350.TAA67670@norn.ca.eu.org>

next in thread | raw e-mail | index | archive | help

>Number:         10248
>Category:       ports
>Synopsis:       [new port] xhippo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 25 10:20:03 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris Piazza
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
n/a 
>Environment:

FreeBSD norn.ca.eu.org 4.0-CURRENT

>Description:

xhippo is a GTK based frontend to command-line based audio tools.
Port tested on 4.0-CURRENT

Comments welcome.

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xhippo
#	xhippo/Makefile
#	xhippo/patches
#	xhippo/patches/patch-aa
#	xhippo/pkg
#	xhippo/pkg/COMMENT
#	xhippo/pkg/DESCR
#	xhippo/pkg/PLIST
#	xhippo/files
#	xhippo/files/md5
#
echo c - xhippo
mkdir -p xhippo > /dev/null 2>&1
echo x - xhippo/Makefile
sed 's/^X//' >xhippo/Makefile << 'END-of-xhippo/Makefile'
X# New ports collection makefile for:	xhippo
X# Version required:	0.6
X# Date created:         24 February 1999
X# Whom:			Chris Piazza <cpiazza@home.net>
X#
X# $Id$
X#
X
XDISTNAME=	xhippo-0.6
XCATEGORIES=	audio
XMASTER_SITES=	http://zenchaos.netpedia.net/software/
X
XMAINTAINER=	cpiazza@home.net
X
XLIB_DEPENDS=	gtk11d.1:${PORTSDIR}/x11-toolkits/gtk11-devel
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/xhippo
X	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xhippo
X	${INSTALL_DATA} ${WRKSRC}/README.fvwm2 ${PREFIX}/share/doc/xhippo
X.endif
X	@ ${ECHO} "****************************************************"
X	@ ${ECHO} "* Please edit ${PREFIX}/etc/xhippo.config.example *"
X	@ ${ECHO} "* and copy it to ${PREFIX}/etc/xhippo.config      *"
X	@ ${ECHO} "* before using this port.                          *"
X	@ ${ECHO} "****************************************************"
X
X.include <bsd.port.mk>
END-of-xhippo/Makefile
echo c - xhippo/patches
mkdir -p xhippo/patches > /dev/null 2>&1
echo x - xhippo/patches/patch-aa
sed 's/^X//' >xhippo/patches/patch-aa << 'END-of-xhippo/patches/patch-aa'
X--- Makefile.orig	Wed Feb 24 03:55:30 1999
X+++ Makefile	Wed Feb 24 19:22:28 1999
X@@ -17,8 +17,10 @@
X BINDEST=$(PREFIX)/bin
X ETCDEST=$(PREFIX)/etc
X 
X-CC=gcc
X-CFLAGS=-Wall `gtk-config --cflags` -DSYSTEMXHIPPOCONFIG=\"$(ETCDEST)/xhippo.config\" -DVERSION=\"$(VERSION)\"
X+#CC=gcc
X+DEFINES=-DSYSTEMXHIPPOCONFIG=\"$(ETCDEST)/xhippo.config\" -DVERSION=\"$(VERSION)\" 
X+INCLUDES=`gtk11d-config --cflags`
X+CFLAGS+= $(DEFINES) $(INCLUDES)
X OBJECTS=xhippo.o
X 
X .PHONY: all clean install distro
X@@ -26,7 +28,7 @@
X all: xhippo
X 
X xhippo: $(OBJECTS)
X-	$(CC) -o xhippo `gtk-config --libs` $(OBJECTS)
X+	$(CC) -o xhippo `gtk11d-config --libs` $(OBJECTS)
X 
X xhippo.o: xhippo.c xhippo.h
X 
X@@ -34,8 +36,8 @@
X 	rm -f *~ $(OBJECTS) xhippo $(DISTNAME).tar.gz contrib/*~
X 
X install:
X-	install -m 0755 xhippo $(BINDEST)/xhippo
X-	install -m 0644 xhippo.config $(ETCDEST)/xhippo.config
X+	install -C -m 0755 xhippo $(BINDEST)/xhippo
X+	install -C -m 0644 xhippo.config $(ETCDEST)/xhippo.config.example
X 
X distro: clean
X 	( test -d $(DISTNAME) || mkdir $(DISTNAME) )
END-of-xhippo/patches/patch-aa
echo c - xhippo/pkg
mkdir -p xhippo/pkg > /dev/null 2>&1
echo x - xhippo/pkg/COMMENT
sed 's/^X//' >xhippo/pkg/COMMENT << 'END-of-xhippo/pkg/COMMENT'
XA GTK based music player.
END-of-xhippo/pkg/COMMENT
echo x - xhippo/pkg/DESCR
sed 's/^X//' >xhippo/pkg/DESCR << 'END-of-xhippo/pkg/DESCR'
Xxhippo is a GTK based music player that is capable of driving
Xmost command-line based players (eg. mpg123)
X
Xhttp://zenchaos.netpedia.net/
X
X-Chris Piazza
Xcpiazza@home.net
END-of-xhippo/pkg/DESCR
echo x - xhippo/pkg/PLIST
sed 's/^X//' >xhippo/pkg/PLIST << 'END-of-xhippo/pkg/PLIST'
Xbin/xhippo
Xetc/xhippo.config.example
Xshare/doc/xhippo/README
Xshare/doc/xhippo/README.fvwm2
X@dirrm share/doc/xhippo
END-of-xhippo/pkg/PLIST
echo c - xhippo/files
mkdir -p xhippo/files > /dev/null 2>&1
echo x - xhippo/files/md5
sed 's/^X//' >xhippo/files/md5 << 'END-of-xhippo/files/md5'
XMD5 (xhippo-0.6.tar.gz) = 0196cbd6ec3de7b9387aa202265a1cfe
END-of-xhippo/files/md5
exit


-Chris

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902250350.TAA67670>