freebsd-ports/security/tpmmanager/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

# 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
CATEGORIES= security
2011-01-02 20:04:08 +01:00
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}/${PORTNAME}-${PORTVERSION}
MAINTAINER= nork@FreeBSD.org
COMMENT= TPM Manager
LIB_DEPENDS= tspi.2:${PORTSDIR}/security/trousers
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_QT_VER= 4
QT_NONSTANDARD= YES
QT_COMPONENTS= gui moc_build qmake_build rcc_build uic_build
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>