aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qgmailnotifier/Makefile
blob: 203b8121982109faf5c3c21ee248c3f2acb81157 (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
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   qgmailnotifier
PORTVERSION=    2008.3
PORTREVISION=   2
CATEGORIES= mail
MASTER_SITES=   http://www.codef00.com/projects/

MAINTAINER= crees@FreeBSD.org
COMMENT=    Portable Qt 4 based GMail notifier

USES=       qmake tar:tgz
USE_QT4=    moc_build uic_build gui network xml rcc_build

WRKSRC=     ${WRKDIR}/${PORTNAME}

PORTDOCS=   README
PLIST_FILES=    bin/${PORTNAME}

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} -e 's|/bin|${PREFIX}/bin|g' ${WRKSRC}/qgmailnotifier.pro

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>