blob: 7441f746c7b427235105c807137330f6185959ca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection makefile for: qnapi
# Date created: 2008-02-15
# Whom: Pawel Pekala <c0rn@o2.pl>
#
# $FreeBSD$
#
PORTNAME= qnapi
PORTVERSION= 0.1.5
PORTREVISION= 3
CATEGORIES= polish multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= pawel@FreeBSD.org
COMMENT= Unoffical napiprojekt.pl qt4 client
LICENSE= GPLv2
RUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
USE_QT_VER= 4
QT_COMPONENTS= corelib gui network 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 changelog.gz README README.pl LICENSE \
LICENSE.pl COPYRIGHT
post-patch:
@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
pre-build:
@cd ${WRKSRC} && ${QMAKE} -spec ${QMAKESPEC} ${QMAKEFLAGS} ${QMAKE_ARGS}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|