# Created by: Yinghong.Liu # $FreeBSD$ PORTNAME= qlabels PORTVERSION= 0.2 PORTREVISION= 4 CATEGORIES= deskutils editors MASTER_SITES= http://qlabels.p34.net/files/ \ http://www.sourcefiles.org/Utilities/Printer/ DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Labels and business cards creating USE_BZIP2= yes USE_QT4= xml gui corelib qmake_build uic_build moc_build rcc_build WRKSRC= ${WRKDIR}/${DISTNAME:C/_/-/} DESKTOP_ENTRIES= "qLabels" \ "${COMMENT}" \ "" \ "qlabels" \ "Office;Qt;" \ "false" post-patch: @${REINPLACE_CMD} 's|/usr|${PREFIX}|g' \ ${WRKSRC}/qlabels.pro \ ${WRKSRC}/lib/templates.cpp \ ${WRKSRC}/lib/papers.cpp pre-build: @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS} qlabels.pro post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for doc in Changelog LICENSE @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} .endfor .endif .include