head	1.5;
access;
symbols;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.03.26;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2012.07.13.14.09.00;	author pawel;	state Exp;
branches;
next	1.3;

1.3
date	2012.06.06.06.44.33;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2012.05.09.10.11.02;	author makc;	state Exp;
branches;
next	1.1;

1.1
date	2012.05.08.23.37.31;	author makc;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:	qtfm
# Date created:				2012-04-29
# Whom:					Zhihao Yuan <lichray@@gmail.com>
#
# $FreeBSD: head/x11-fm/qtfm/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	qtfm
DISTVERSION=	5.5
CATEGORIES=	x11-fm
MASTER_SITES=	http://www.qtfm.org/

MAINTAINER=	lichray@@gmail.com
COMMENT=	A small, lightweight file manager based on pure Qt

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USE_DOS2UNIX=	yes
DOS2UNIX_REGEX=	.*\.(h|cpp)
USE_QT4=	gui network qmake_build moc_build rcc_build \
		imageformats_run

# Override -A option:
FETCH_ARGS=	-Fpr
MAKE_JOBS_SAFE=	yes

STRIP_FILES=	bin/qtfm

post-patch:
	@@cd ${WRKSRC} && \
		${REINPLACE_CMD} -e s@@/usr/@@${PREFIX}/@@g \
		 -e s@@share/qtfm@@${DATADIR_REL}@@ \
		qtfm.pro src/main.cpp
	@@cd ${WRKSRC}/src && \
		${REINPLACE_CMD} -e s@@/usr/@@${LOCALBASE}/@@g \
		icondlg.cpp mainwindow.cpp mymodel.cpp

do-configure:
	@@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \
		${QMAKEFLAGS} qtfm.pro

post-install:
	${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}

.include <bsd.port.mk>
@


1.4
log
@Update to version 5.5

Changes:	http://www.qtfm.org/home/changelog

PR:		ports/169795
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@- Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4

Review by:	bapt, David Naylor (kde team)
@
text
@d9 1
a9 2
DISTVERSION=	5.4
PORTREVISION=	1
@


1.2
log
@Limit DOS2UNIX conversion to *.h and *.cpp files only
Add runtime dependency on Qt imageformats

PR		ports/167466 (I didn't notice the second patch in PR)
Submitted by:	Zhihao Yuan (maintainer)
@
text
@d22 1
a22 2
USE_QT_VER=	4
QT_COMPONENTS=	gui network qmake_build moc_build rcc_build \
@


1.1
log
@Add new port x11-fm/qtfm:

qtFM is a small, lightweight file manager based on pure Qt and works great
with minimal desktop environments like Openbox.

WWW: http://www.qtfm.org/

PR:		ports/167466
Submitted by:	Zhihao Yuan <lichray at gmail.com>
@
text
@d10 1
d21 1
d23 2
a24 1
QT_COMPONENTS=	gui network qmake_build moc_build rcc_build
@

