blob: c22611ec727c2e7a2d257362600298a60e66a374 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# New ports collection makefile for: tpmmanager
# Date created: 2011-01-02
# Whom: Norikatsu Shigemura <nork@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tpmmanager
PORTVERSION= 0.8
PORTREVISION= 1
CATEGORIES= security
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>
|