Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 14:19:08 +0100 (CET)
From:      Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        jedgar@FreeBSD.org
Subject:   ports/62063: [patch] devel/lincvs: Unbreak qmake-usage (bento)
Message-ID:  <200401291319.i0TDJ8iR042349@menelaos.informatik.rwth-aachen.de>
Resent-Message-ID: <200401291320.i0TDKFlG006245@freefall.freebsd.org>

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

>Number:         62063
>Category:       ports
>Synopsis:       [patch] devel/lincvs: Unbreak qmake-usage (bento)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 29 05:20:15 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #12: Mon Dec 8 15:14:27 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
- BUILD_DEPEND on qmake
- Honour NOPORTDOCS while here
- Pacify portlint (whitespaces, mkdir -p)
>How-To-Repeat:
>Fix:
--- lincvs begins here ---
--- Makefile.orig	Thu Jan 29 13:38:41 2004
+++ Makefile	Thu Jan 29 14:11:02 2004
@@ -15,6 +15,8 @@
 MAINTAINER=	jedgar@FreeBSD.org
 COMMENT=	Graphical CVS front-end using QT
 
+BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake
+
 USE_GMAKE=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 USE_QT_VER=	3
@@ -23,13 +25,15 @@
 ALL_TARGET=	install
 
 pre-build:
-	( cd ${WRKSRC} && ${QTDIR}/bin/qmake -o Makefile lincvs.pro )
-	
-do-install:	  
+	( cd ${WRKSRC} && qmake -spec freebsd-g++ -o Makefile lincvs.pro )
+
+do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/LinCVS/lincvs.bin ${PREFIX}/bin/lincvs
 	${INSTALL_SCRIPT} ${WRKSRC}/LinCVS/Tools/start-ssh-agent.sh ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/LinCVS/Tools/start-ssh.sh ${PREFIX}/bin	
-	${MKDIR} -p ${DOCSDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/LinCVS/Tools/start-ssh.sh ${PREFIX}/bin
+.ifndef (NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
 	${CP} -R ${WRKSRC}/LinCVS/Help/* ${DOCSDIR}
-	
+.endif
+
 .include <bsd.port.mk>
--- pkg-plist.orig	Thu Jan 29 14:10:12 2004
+++ pkg-plist	Thu Jan 29 14:14:21 2004
@@ -1,23 +1,23 @@
 bin/lincvs
 bin/start-ssh-agent.sh
 bin/start-ssh.sh
-share/doc/lincvs/AUTHORS
-share/doc/lincvs/BUGS.txt
-share/doc/lincvs/COPYING
-share/doc/lincvs/FAQ.txt
-share/doc/lincvs/ChangeLog
-share/doc/lincvs/INSTALL
-share/doc/lincvs/INSTALL.html
-share/doc/lincvs/LICENSE
-share/doc/lincvs/NEWS
-share/doc/lincvs/PROXY-HOWTO.txt
-share/doc/lincvs/README
-share/doc/lincvs/README.html
-share/doc/lincvs/SSH-HOWTO.txt
-share/doc/lincvs/THANKS
-share/doc/lincvs/VERSION
-share/doc/lincvs/Translations/de/LIESMICH.txt
-share/doc/lincvs/Translations/de/LIESMICH.html
-@dirrm share/doc/lincvs/Translations/de
-@dirrm share/doc/lincvs/Translations
-@dirrm share/doc/lincvs
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/PROXY-HOWTO.txt
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.html
+%%PORTDOCS%%%%DOCSDIR%%/SSH-HOWTO.txt
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/VERSION
+%%PORTDOCS%%%%DOCSDIR%%/Translations/de/LIESMICH.txt
+%%PORTDOCS%%%%DOCSDIR%%/Translations/de/LIESMICH.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/Translations/de
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/Translations
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
--- lincvs ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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