aboutsummaryrefslogblamecommitdiff
path: root/devel/bouml/Makefile
blob: 28919b706c222e0ded0bb0edf2c4bd1807315ae5 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                          
                      
                 
                     
                         
                                     
                                          

                                   
                                           



                                             
                            


                                                                         
                   
 
                                                    
 

                                                        
              

                                                                          




                                                                     
                                                 
                                               
                                                                    


                             
 
                      
# New ports collection makefile for:	bouml
# Date created:		14 June 2005
# Whom:			Thierry Thomas <thierry@pompo.net>
#
# $FreeBSD$
#

PORTNAME=	bouml
PORTVERSION=	4.18.1
PORTEPOCH=	1
CATEGORIES=	devel
MASTER_SITES=	SF	\
		http://bouml.free.fr/
DISTNAME=	${PORTNAME}_${DISTVERSION}

MAINTAINER=	thierry@FreeBSD.org
COMMENT=	BOUML, a free UML 2 modeler

BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake

USE_QT_VER=	3
QTDIR?=		${QT_PREFIX}
ALL_TARGET=	compile
MAKE_ENV=	QMAKESPEC="${LOCALBASE}/share/qt/mkspecs/freebsd-g++"	\
		QTDIR="${QTDIR}"
INSTALLS_ICONS=	yes

WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}

PLIST_SUB=	DESKTOPDIR=${DESKTOPDIR:S|^${PREFIX}/||}

pre-configure:
	${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|'	\
		-e 's|%%DESKTOPDIR%%|${DESKTOPDIR}|' ${WRKSRC}/${MAKEFILE}
	${FIND} ${WRKSRC} -name "*.pro" |	\
		${XARGS} ${REINPLACE_CMD} -e '/^CONFIG/s/$$/ thread/'

post-install:
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
	${CHMOD} -R ${SHAREMODE} ${DATADIR}/xmi/*
	${CHMOD} ${SHAREMODE} ${DATADIR}/*.lang
	${FIND} ${DATADIR} -type f -perm 755 | ${XARGS} ${STRIP_CMD}
	@${ECHO_MSG}
	@${CAT} ${PKGMESSAGE}
	@${ECHO_MSG}

.include <bsd.port.mk>