de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
45 lines
1.1 KiB
Makefile
45 lines
1.1 KiB
Makefile
# New ports collection makefile for: qorganizer
|
|
# Date created: 20 August 2007
|
|
# Whom: Yinghong Liu <relaxbsd@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qorganizer
|
|
PORTVERSION= 3.1
|
|
PORTREVISION= 2
|
|
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_QT_VER= 4
|
|
QT_COMPONENTS= 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"
|
|
|
|
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>
|