aboutsummaryrefslogblamecommitdiff
path: root/devel/kdesvn-kde4/Makefile
blob: d672ef1fcfe9a3300cecb3482f8ff7bc26e107c5 (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                      
                      
                         
                                                                  
 
                                   

                                           
                                                 
                                                           
                                           
 
                   
                   
                 
                   
                   
 

                             



                         
                               
                                                    
      
 
                                                       
 

                                

                          



                                                                            
 
                      
# New ports collection makefile for:	kdesvn
# Date created:				08 April 2006
# Whom:					Yuan Jue <yuanjue@yuanjue.net>
#
# $FreeBSD$

PORTNAME=	kdesvn
PORTVERSION=	0.14.4
CATEGORIES=	devel kde
MASTER_SITES=	http://kdesvn.alwins-world.de/trac.fcgi/downloads/

MAINTAINER=	yuanjue@FreeBSD.org
COMMENT=	KDE frontend for Subversion

LIB_DEPENDS+=	apr-1:${PORTSDIR}/devel/apr-svn \
		svn_client-1:${PORTSDIR}/devel/subversion \
		neon:${PORTSDIR}/www/neon28

USE_CMAKE=	yes
USE_BZIP2=	yes
USE_KDELIBS_VER=3
USE_LDCONFIG=	yes
INSTALLS_ICONS=	yes

CMAKE_ARGS=	-DLIB_SUFFIX=

.if !defined(WITHOUT_NLS)
USE_GETTEXT=	yes
PLIST_SUB+=	NLS=""
.else
PLIST_SUB+=	NLS="@comment "
EXTRA_PATCHES=	${FILESDIR}/nls-patch-CMakeLists.txt
.endif

DOCSDIR=	${PREFIX}/share/doc/HTML/en/${PORTNAME}

MAN1=	kdesvn.1 kdesvnaskpass.1

post-extract:
	${MKDIR} ${WRKSRC}
.if defined(NOPORTDOCS)
	${RM} -f ${PATCH_WRKSRC}/doc/CMakeLists.txt
	${ECHO} "ADD_SUBDIRECTORY(man)" > ${PATCH_WRKSRC}/doc/CMakeLists.txt
.endif

.include <bsd.port.mk>