summaryrefslogblamecommitdiff
path: root/devel/kdevelop/Makefile
blob: 34b9fba7e1d44b47ed212c0600a56df89969d64d (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                





                                                               
                        
                   




                                                             
                                                     


                                                                      
 
                                
 
                                                 
                                  
                                             




                                                                                                        



                   

      
                   
                   
                           



                                                               
                                                 
                 
 
                                   
 
          
                                   
                
                                                                                        

                                                                                        
                

      


                                                         
                      
# New ports collection makefile for:	kdevelop
# Date created:		12 Aug 1999
# Whom:			Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=	kdevelop
PORTVERSION=	1.2
CATEGORIES=	devel
MASTER_SITES=	ftp://fara.cs.uni-potsdam.de/pub/kdevelop/ \
		ftp://129.187.206.68/pub/unix/ide/KDevelop/ \
		ftp://ftp.bawue.de/pub/unix/KDevelop/ \
		ftp://ftp.chg.ru/pub/X11/kdevelop/ \
		ftp://gd.tuwien.ac.at/hci/KDevelop/ \
		ftp://altair.dhs.org/pub/kdevelop/ \
		ftp://apcs.shellx.org/pub/KDevelop/ \
		ftp://ftp.mpg.goe.ni.schule.de/pub/linux/ide/KDevelop/

MAINTAINER=	will@FreeBSD.org

#LIB_DEPENDS=	kdeui.3:${PORTSDIR}/x11/kdelibs11
.if defined(WITH_OPTIONAL_DEPENDS)
RUN_DEPENDS+=	kdbg:${PORTSDIR}/devel/kdbg \
		${LOCALBASE}/share/doc/HTML/en/kdelibs/kdecore/index.html:${PORTSDIR}/devel/kdelibdocs \
		ktranslator:${PORTSDIR}/devel/ktranslator \
		kiconedit:${PORTSDIR}/graphics/kdegraphics11 \
		glimpse:${PORTSDIR}/textproc/glimpse \
		a2ps:${PORTSDIR}/print/a2ps43-letter

USE_AUTOMAKE=	yes
.else
USE_AUTOCONF=	yes
.endif

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
#USE_QT=		yes
CONFIGURE_ARGS=	--with-qtdoc-dir=${X11BASE}/share/doc/qt/html \
		--with-qt-includes=${X11BASE}/include/X11/qt \
		--with-extra-includes=${LOCALBASE}/include \
		--with-extra-libs=${LOCALBASE}/lib
MAKE_ENV=	CXX="${CXX}" SOMAJOR="${SOMAJOR}"
SOMAJOR=        1

PLIST_SUB+=	LIBVER="${SOMAJOR}"

pre-patch:
.if !defined(WITH_OPTIONAL_DEPENDS)
	@${ECHO}
	@${ECHO} "You may define WITH_OPTIONAL_DEPENDS (make WITH_OPTIONAL_DEPENDS=YES)"
	@${ECHO} "to automatically build the suggested programs to compliment kdevelop."
	@${ECHO}
	@sleep 1
.endif

post-patch:
	@${LN} -sf /usr/include/g++/FlexLexer.h ${WRKSRC}

.include <bsd.port.mk>