Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Nov 2001 15:26:59 +0000
From:      Michael Collette <metrol@earthlink.net>
To:        FreeBSD <freebsd-ports@FreeBSD.org>
Subject:   New port help
Message-ID:  <20011119233008.BDB1537B418@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Trying to do up a new port here for an app called Kinkatta.  Been doing a 
fair bit of reading in the porting handbook and looking over other KDE ports 
to try and get this to play.  Also just trying to learn how to perform this 
bit of magic.

At this point I've come very close to getting the basics done.  I've got the 
distfile made, and pretty close to a correct pkg-plist for this.  The program 
compiles and installs without error as well.  With all that being said, got a 
couple of problems still yet.

If I don't do an "export KDEDIR=/usr/local" prior to running the make it 
fails on configuration.  I'm not seeing this handled in other KDE application 
ports other than to specify the kde libs to be used.  Is there some step I'm 
missing, or do I need to put this into Makefile somehow?

When I get past this point the app compiles and installs, but then when I run 
it up the darn thing can't find it's own graphics files.  A number of icons 
and such get installed, but the path gets mucked up somewhere along the line. 
Where might I look to find this type of setting?  Is there some patching I'm 
going to need to write up to make this play?

Just need a nudge in the right direction here.  There's a ton of KDE apps I'd 
love to see added to the ports collection.  Now if I could just rent a clue :)

Below is a copy of my Makefile.  I can produce the other files in question 
upon request.

----------------------------------------------------------------------------

# ports collection makefile for:        kinkatta
# Date created:                         16 November 2001
# Whom:                                 Michael Collette <metrol@metrol.net>
#
# $FreeBSD$
#
 
PORTNAME=       kinkatta
PORTVERSION=    1.00
CATEGORIES=     net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=     ${PORTNAME}
 
MAINTAINER=     metrol@metrol.net
 
USE_KDELIBS_VER=2
GNU_CONFIGURE=  yes
USE_X_PREFIX=   yes
QTCPPFLAGS=     ${PTHREAD_CFLAGS}
QTCFGLIBS=      ${PTHREAD_LIBS}
 
pre-configure:
        @${PERL} -pi -e "s#lqt #lqt2 #g" ${WRKSRC}/kinkatta/Makefile.in
 
.include <bsd.port.mk>
----------------------------------------------------------------------------

  That preconfigure line was in a couple of other ports for KDE, and it seems 
that it's needed here as well.

Later on,
-- 
"A short saying often contains much wisdom."
 -Sophocles

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?20011119233008.BDB1537B418>