Skip site navigation (1)Skip section navigation (2)
Date:      9 Jul 2001 10:31:01 -0700
From:      Seth Kingsley <sethk@meowfishies.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/28841: New port: khordpro
Message-ID:  <20010709173101.95960.qmail@magnesium.net>

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

>Number:         28841
>Category:       ports
>Synopsis:       New port: khordpro
>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:   Mon Jul 09 10:40:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Seth Kingsley
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD toxic.magnesium.net 4.3-STABLE FreeBSD 4.3-STABLE #1: Mon Jun 25 17:25:53 PDT 2001 unfurl@toxic.magnesium.net:/staff/obj/staff/src.system/sys/TOXIC i386

>Description:
This is a program that allows you to view ChordPro guitar tablerature
files with a web-browser like interface. It uses the KDE2 desktop
environment.

WWW: http://digilander.iol.it/merlim/khordpro/

- Seth

# 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:
#
#	audio/khordpro
#	audio/khordpro/Makefile
#	audio/khordpro/distinfo
#	audio/khordpro/files
#	audio/khordpro/files/patch-aclocal.m4
#	audio/khordpro/files/patch-khordpro-Makefile.am
#	audio/khordpro/files/patch-khordpro-cpm_html.cpp
#	audio/khordpro/pkg-comment
#	audio/khordpro/pkg-plist
#	audio/khordpro/pkg-descr
#
echo c - audio/khordpro
mkdir -p audio/khordpro > /dev/null 2>&1
echo x - audio/khordpro/Makefile
sed 's/^X//' >audio/khordpro/Makefile << 'END-of-audio/khordpro/Makefile'
X# New ports collection makefile for:	khordpro
X# Date created:		June 8, 2001
X# Whom:			sethk
X#
X# $FreeBSD$
X#
X
XPORTNAME=	khordpro
XPORTVERSION=	0.1
XCATEGORIES=	audio
XMASTER_SITES=	http://digilander.iol.it/merlim/khordpro/files/
X
XMAINTAINER=	sethk@meowfishies.com
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-qt-dir=${X11BASE}		\
X	--with-qt-includes=${X11BASE}/include/qt2	\
X	--with-qt-libraries=${X11BASE}/lib		\
X	--with-extra-includes=${PREFIX}/include		\
X	--with-extra-libs=${PREFIX}/lib
XUSE_AUTOCONF=	yes
X
XLIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg		\
X	png:${PORTSDIR}/graphics/png			\
X	qt2:${PORTSDIR}/x11-toolkits/qt23		\
X	kdecore:${PORTSDIR}/x11/kdelibs2
X
Xpost-patch:
X	cp ${WRKSRC}/khordpro/cpm_html.cpp		\
X		${WRKSRC}/khordpro/cpm_html.cpp.orig
X	sed -e 's:%%PREFIX%%:${PREFIX}:g' <		\
X		${WRKSRC}/khordpro/cpm_html.cpp.orig >	\
X		${WRKSRC}/khordpro/cpm_html.cpp
X
Xpost-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/cpm.pl ${PREFIX}/bin/cpm
X
X.include <bsd.port.mk>
END-of-audio/khordpro/Makefile
echo x - audio/khordpro/distinfo
sed 's/^X//' >audio/khordpro/distinfo << 'END-of-audio/khordpro/distinfo'
XMD5 (khordpro-0.1.tar.gz) = bd254de1cf3fa441461a94e1399db562
END-of-audio/khordpro/distinfo
echo c - audio/khordpro/files
mkdir -p audio/khordpro/files > /dev/null 2>&1
echo x - audio/khordpro/files/patch-aclocal.m4
sed 's/^X//' >audio/khordpro/files/patch-aclocal.m4 << 'END-of-audio/khordpro/files/patch-aclocal.m4'
X--- aclocal.m4.orig	Thu Feb 15 06:31:05 2001
X+++ aclocal.m4	Sun Jul  8 05:19:24 2001
X@@ -116,9 +116,9 @@
X 
X AC_DEFUN(KDE_MOC_ERROR_MESSAGE,
X [
X-    AC_MSG_ERROR([No Qt meta object compiler (moc) found!
X+    AC_MSG_ERROR([No Qt meta object compiler (moc2) found!
X Please check whether you installed Qt correctly.
X-You need to have a running moc binary.
X+You need to have a running moc2 binary.
X configure tried to run $ac_cv_path_moc and the test didn't
X succeed. If configure shouldn't have tried this one, set
X the environment variable MOC to the right one before running
X@@ -154,7 +154,7 @@
X       qt_bindirs="$ac_qt_bindir $qt_bindirs"
X    fi
X 
X-   KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE])
X+   KDE_FIND_PATH(moc2, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE])
X    KDE_FIND_PATH(uic, UIC, [$qt_bindirs], [UIC="" ; KDE_UIC_ERROR_MESSAGE])
X    if test -z "$UIC" ; then
X      if test -z "$UIC_NOT_NEEDED" ; then
X@@ -865,8 +865,8 @@
X 
X if test -z "$LIBQT"; then
X 
X-  LIBQT="-lqt"
X-  kde_int_qt="-lqt"
X+  LIBQT="-lqt2"
X+  kde_int_qt="-lqt2"
X 
X dnl ------------------------------------------------------------------------
X dnl If we got --enable-qt-mt then adjust the Qt library name for the host.
X@@ -877,9 +877,9 @@
X       case $host in
X       *-*-linux-*)
X         if test "x$GCC" = "xyes"; then
X-          LIBQT="-lqt-mt"
X-          kde_int_qt="-lqt-mt"
X-          LIBQT_GLOB="libqt-mt.*"
X+          LIBQT="-lqt2-mt"
X+          kde_int_qt="-lqt2-mt"
X+          LIBQT_GLOB="libqt2-mt.*"
X           USING_QT_MT="using -mt"
X         fi
X       ;;
END-of-audio/khordpro/files/patch-aclocal.m4
echo x - audio/khordpro/files/patch-khordpro-Makefile.am
sed 's/^X//' >audio/khordpro/files/patch-khordpro-Makefile.am << 'END-of-audio/khordpro/files/patch-khordpro-Makefile.am'
X--- khordpro/Makefile.am.orig	Sun Jul  8 05:31:17 2001
X+++ khordpro/Makefile.am	Sun Jul  8 05:31:24 2001
X@@ -11,7 +11,7 @@
X 		-lX11 $\
X 		-lpng -lz -lm\
X 		-ljpeg\
X-		-lqt $ $ -lXext $ $\
X+		-lqt2 $ $ -lXext $ $\
X 		-lkdecore\
X 		-lkdeui\
X 		-lkfile\
END-of-audio/khordpro/files/patch-khordpro-Makefile.am
echo x - audio/khordpro/files/patch-khordpro-cpm_html.cpp
sed 's/^X//' >audio/khordpro/files/patch-khordpro-cpm_html.cpp << 'END-of-audio/khordpro/files/patch-khordpro-cpm_html.cpp'
X--- khordpro/cpm_html.cpp.orig	Sun Jul  8 05:56:49 2001
X+++ khordpro/cpm_html.cpp	Sun Jul  8 05:57:38 2001
X@@ -17,7 +17,7 @@
X  			this, SLOT(slot_Exit(KProcess *)));*/
X 
X  			
X-	proc << "/usr/bin/cpm";
X+	proc << "%%PREFIX%%/bin/cpm";
X 	proc << filename;
X 	proc.start(KProcess::Block,KProcess::Stdout);
X 	//system("/usr/bin/cpm /home/mat/cpm/itgwo.chopro > /home/mat/.cpm_temp.html");
END-of-audio/khordpro/files/patch-khordpro-cpm_html.cpp
echo x - audio/khordpro/pkg-comment
sed 's/^X//' >audio/khordpro/pkg-comment << 'END-of-audio/khordpro/pkg-comment'
XA KDE2 app for displaying ChordPro format guitar tablerature
END-of-audio/khordpro/pkg-comment
echo x - audio/khordpro/pkg-plist
sed 's/^X//' >audio/khordpro/pkg-plist << 'END-of-audio/khordpro/pkg-plist'
Xbin/khordpro
Xbin/cpm
END-of-audio/khordpro/pkg-plist
echo x - audio/khordpro/pkg-descr
sed 's/^X//' >audio/khordpro/pkg-descr << 'END-of-audio/khordpro/pkg-descr'
XThis is a program that allows you to view ChordPro guitar tablerature
Xfiles with a web-browser like interface. It uses the KDE2 desktop
Xenvironment.
X
XWWW: http://digilander.iol.it/merlim/khordpro/
X
X- Seth
Xsethk@meowfishies.com
END-of-audio/khordpro/pkg-descr
exit

>How-To-Repeat:
>Fix:
>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?20010709173101.95960.qmail>