head	1.15;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.9
	RELEASE_7_4_0:1.6
	RELEASE_8_2_0:1.6
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.4
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2;
locks; strict;
comment	@# @;


1.15
date	2012.12.21.18.55.39;	author svnexp;	state Exp;
branches;
next	1.14;

1.14
date	2012.11.17.06.00.44;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.08.02.09.02.43;	author cs;	state Exp;
branches;
next	1.12;

1.12
date	2012.06.07.22.44.20;	author pawel;	state Exp;
branches;
next	1.11;

1.11
date	2012.06.06.06.44.18;	author miwi;	state Exp;
branches;
next	1.10;

1.10
date	2012.06.01.05.23.27;	author dinoex;	state Exp;
branches;
next	1.9;

1.9
date	2011.08.20.14.10.23;	author pawel;	state Exp;
branches;
next	1.8;

1.8
date	2011.08.16.14.05.18;	author pawel;	state Exp;
branches;
next	1.7;

1.7
date	2011.03.23.16.58.00;	author pawel;	state Exp;
branches;
next	1.6;

1.6
date	2010.12.19.12.14.02;	author makc;	state Exp;
branches;
next	1.5;

1.5
date	2010.03.28.06.42.16;	author dinoex;	state Exp;
branches;
next	1.4;

1.4
date	2009.08.22.00.34.30;	author amdmi3;	state Exp;
branches;
next	1.3;

1.3
date	2009.05.27.22.02.15;	author makc;	state Exp;
branches;
next	1.2;

1.2
date	2008.07.05.05.08.52;	author edwin;	state Exp;
branches;
next	1.1;

1.1
date	2008.07.05.00.56.04;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.15
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309368
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309368 | pawel | 2012-12-21 18:01:16 +0000 (Fri, 21 Dec 2012) | 6 lines
## SVN ##
## SVN ## - Update to version 1.6-rc2
## SVN ## - Add missing deps
## SVN ## - Don't install 3 copies of licensing terms
## SVN ## - Replace patches with REINPLACE_CMD
## SVN ## - Add port description, new homepage - old one seems dead
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@# Created by: Pawel Pekala <c0rn@@o2.pl>
# $FreeBSD: head/polish/qnapi/Makefile 309368 2012-12-21 18:01:16Z pawel $

PORTNAME=	qnapi
PORTVERSION=	0.1.6.r2
CATEGORIES=	polish multimedia
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/
DISTNAME=	${PORTNAME}-${PORTVERSION:R}-rc2

MAINTAINER=	pawel@@FreeBSD.org
COMMENT=	Qt4 based subtitle downloader

LICENSE=	GPLv2

LIB_DEPENDS=	pthread-stubs:${PORTSDIR}/devel/libpthread-stubs \
		pcre:${PORTSDIR}/devel/pcre \
		png15:${PORTSDIR}/graphics/png \
		freetype:${PORTSDIR}/print/freetype2 \
		expat:${PORTSDIR}/textproc/expat2 \
		xcb:${PORTSDIR}/x11/libxcb \
		fontconfig:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS=	7z:${PORTSDIR}/archivers/p7zip

USE_ICONV=	yes
USE_GETTEXT=	yes
USE_XORG=	ice sm x11 xau xdmcp xext xrender
USE_QT4=	corelib gui network xml qmake_build moc_build uic_build rcc_build
USE_KDE4=	kdehier
QMAKE_ARGS=	PREFIX=${PREFIX} KDE4_PREFIX=${KDE4_PREFIX}
MAKE_JOBS_SAFE=	yes
INSTALLS_ICONS=	yes

MAN1=		qnapi.1
MANCOMPRESSED=	yes
PORTDOCS=	ChangeLog README.pl COPYRIGHT

.include <bsd.port.options.mk>

post-patch:
	@@${REINPLACE_CMD} 's|/usr/share/icons/||g' \
		${WRKSRC}/doc/qnapi.desktop \
		${WRKSRC}/doc/qnapi-download.desktop \
		${WRKSRC}/doc/qnapi-download.schemas

pre-build:
	@@cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC} ${QMAKEFLAGS} ${QMAKE_ARGS}

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	@@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
@


1.14
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	qnapi
# Date created:		2008-02-15
# Whom:			Pawel Pekala <c0rn@@o2.pl>
#
# $FreeBSD: head/polish/qnapi/Makefile 301858 2012-08-02 09:02:43Z cs $
#
d5 1
a5 2
PORTVERSION=	0.1.5
PORTREVISION=	4
d7 2
a8 1
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
d11 1
a11 1
COMMENT=	Unofficial napiprojekt.pl qt4 client
d15 7
d24 4
a27 1
USE_QT4=	corelib gui network qmake_build moc_build uic_build rcc_build
d35 1
a35 2
PORTDOCS=	ChangeLog changelog.gz README README.pl LICENSE \
		LICENSE.pl COPYRIGHT
d40 4
a43 4
	@@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|g' \
		doc/qnapi.desktop doc/qnapi-download.desktop
	@@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@@LOCALBASE@@|${LOCALBASE}|g' \
		src/napi.h
@


1.13
log
@SVN rev 301858 on 2012-08-02 09:02:43Z by cs

- Fix typos in COMMENT
- Enforce the now clarified rules from the Porter's Handbook (e.g. no dots, no
  A/An, etc.)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@Convert my ports to optionsNG
@
text
@d15 1
a15 1
COMMENT=	Unoffical napiprojekt.pl qt4 client
@


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

Review by:	bapt, David Naylor (kde team)
@
text
@d32 2
d44 1
a44 1
.if !defined(NOPORTDOCS)
@


1.10
log
@- update png to 1.5.10
@
text
@d21 1
a21 2
USE_QT_VER=	4
QT_COMPONENTS=	corelib gui network qmake_build moc_build uic_build rcc_build
@


1.9
log
@- fix install phase
- pet portlint

Approved by:	miwi (mentor)
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.8
log
@Fix build with clang

Approved by:	miwi (mentor)
@
text
@d17 2
a20 2
LICENSE=	GPLv2

d40 1
a40 1
	@@cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC} ${QMAKEFLAGS}
@


1.7
log
@- Update my email to FreeBSD

Approved by:    miwi, wen (mentors)
@
text
@d40 1
a40 1
	@@cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
@


1.6
log
@- Add LICENSE info
- Mark MAKE_JOBS_SAFE
- Install KDE4 integration file
- Add patch so that location of 7z binary is not badly hardcoded
- Don't install some non essential files
- Remove md5 sum

PR:		based on ports/152619
Submitted by:	Pawel Pekala (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	c0rn@@o2.pl
@


1.5
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d10 1
a10 1
PORTREVISION=	2
d19 2
d23 3
d34 1
a34 1
	@@cd ${WRKSRC} && ${REINPLACE_CMD} -e 's|@@PREFIX@@|${PREFIX}|g' qnapi.pro \
d36 2
d40 1
a40 1
	@@cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC}
@


1.4
log
@- Switch SourceForge ports to the new File Release System: categories starting with P,R,S
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.3
log
@Remove qt4 build tools from run dependencies.

Approved by:	maintainer
@
text
@d12 1
a12 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	qnapi
@


1.2
log
@Add QT component rcc
Noticed by: IonBot
@
text
@d10 1
d21 1
a21 1
QT_COMPONENTS=	corelib gui network qmake_build moc_build uic_build rcc
@


1.1
log
@[NEW PORT] polish/qnapi

	This is port of polish subtitle distribution project Qt4 client.

	WWW:	http://krzemin.iglu.cz/?page_id=29

PR:		ports/122909
Submitted by:	"Pawel Pekala" <c0rn@@o2.pl>
@
text
@d20 1
a20 1
QT_COMPONENTS=	corelib gui network qmake_build moc_build uic_build
@

