2011-01-02 02:32:43 +01:00
|
|
|
# New ports collection makefile for: tpmmanager
|
|
|
|
# Date created: 2011-01-02
|
|
|
|
# Whom: Norikatsu Shigemura <nork@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tpmmanager
|
|
|
|
PORTVERSION= 0.8
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 1
|
2011-01-02 02:32:43 +01:00
|
|
|
CATEGORIES= security
|
2011-01-02 20:04:08 +01:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-${PORTVERSION}
|
2011-01-02 02:32:43 +01:00
|
|
|
|
2012-08-15 21:26:13 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2011-01-02 02:32:43 +01:00
|
|
|
COMMENT= TPM Manager
|
|
|
|
|
|
|
|
LIB_DEPENDS= tspi.2:${PORTSDIR}/security/trousers
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
QT_NONSTANDARD= YES
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= gui moc_build qmake_build rcc_build uic_build
|
2011-01-02 02:32:43 +01:00
|
|
|
|
|
|
|
HAS_CONFIGURE= YES
|
|
|
|
MAKE_JOBS_SAFE= YES
|
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PLIST_FILES+= ${DOCSDIR_REL}/${PORTNAME}.pdf \
|
|
|
|
${DOCSDIR_REL}/TPM_Manager.odt
|
|
|
|
PLIST_DIRSTRY= ${DOCSDIR_REL}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
|
|
|
|
${QMAKE} PREFIX=${PREFIX} tpmmanager.pro
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL} -d -m 0755 ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/latex/${PORTNAME}.pdf ${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/TPM_Manager.odt ${DOCSDIR}/
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|