mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: nagaina
|
|
# Date created: 21 August 2007
|
|
# Whom: Yinghong Liu <relaxbsd@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nagaina
|
|
PORTVERSION= 0.1.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= deskutils
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-sources
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A notes-taking application based QT4
|
|
|
|
USE_QT_VER= 4
|
|
QT_COMPONENTS= gui xml qmake_build moc_build rcc_build uic_build
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
PLIST_FILES= bin/${PORTNAME} share/pixmaps/${PORTNAME}.png
|
|
PORTDOCS= CHANGELOG COMPILE LICENSE TODO
|
|
|
|
DESKTOP_ENTRIES= "${PORTNAME}" \
|
|
"${COMMENT}" \
|
|
"${PORTNAME}" \
|
|
"${PORTNAME}" \
|
|
"Qt;KDE;Office;Utility;" \
|
|
"false"
|
|
|
|
pre-build:
|
|
@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE}
|
|
|
|
post-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin
|
|
@${INSTALL_DATA} ${WRKSRC}/images/${PORTNAME}.png ${PREFIX}/share/pixmaps
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for doc in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|