aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/qorganizer/Makefile
blob: dc96301dcb4f569b603dd9fe53ea9b05386c52a6 (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
# Created by: Yinghong Liu <relaxbsd@gmail.com>
# $FreeBSD$

PORTNAME=   qorganizer
PORTVERSION=    3.1
PORTREVISION=   4
CATEGORIES= deskutils
MASTER_SITES=   SF/${PORTNAME}/OldFiles
DISTNAME=   qOrganizer-${PORTVERSION}

MAINTAINER= miwi@FreeBSD.org
COMMENT=    A general organizer that includes calendar with jurnal and schedule

USE_QT4=    gui network qmake_build moc_build rcc_build sql
WRKSRC=     ${WRKDIR}/qOrganizer/src

PLIST_FILES=    bin/qOrganizer share/pixmaps/qOrganizer.png
PORTDOCS=   CHANGELOG.txt COPYING

DESKTOP_ENTRIES=    "qOrganizer" \
            "${COMMENT}" \
            "qOrganizer" \
            "qOrganizer" \
            "Qt;KDE;Office;" \
            "false"

NO_STAGE=   yes
pre-build:
    @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE}

post-install:
    @${INSTALL_PROGRAM} ${WRKSRC}/qOrganizer ${PREFIX}/bin
    @${INSTALL_DATA} ${WRKSRC}/../qOrganizer.png ${PREFIX}/share/pixmaps
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/../${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>