freebsd-ports/polish/qnapi/Makefile
Max Brazhnikov b22224f636 - Remove deprecated USE_KDE4=kdehier
- while here, remove any reference to KDE in deskutils/charmtimetracker (Qt-only app)
  and supposedly fix build of graphics/gnash with KDE4 option
2015-02-19 18:19:28 +00:00

39 lines
946 B
Makefile

# Created by: Pawel Pekala <c0rn@o2.pl>
# $FreeBSD$
PORTNAME= qnapi
PORTVERSION= 0.1.6.r2
PORTREVISION= 1
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
RUN_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
USES= qmake
USE_QT4= corelib gui network xml moc_build uic_build rcc_build
USE_KDE4= # dummy
PLIST_SUB= KDE4=${KDE4_PREFIX:S|${LOCALBASE}/||}
QMAKE_ARGS= KDE4_PREFIX=${KDE4_PREFIX}
INSTALLS_ICONS= yes
PORTDOCS= ChangeLog README.pl COPYRIGHT
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} 's|/usr/share/icons/||g' \
${WRKSRC}/doc/qnapi.desktop \
${WRKSRC}/doc/qnapi-download.desktop \
${WRKSRC}/doc/qnapi-download.schemas
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|g} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>