aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordanilo <danilo@FreeBSD.org>2013-10-01 06:54:31 +0800
committerdanilo <danilo@FreeBSD.org>2013-10-01 06:54:31 +0800
commit2e076634f84ac499e1fe9fde6bbc30548e25e4ce (patch)
treeda8af941ddfc8f1888fd113f059e34b49030e472
parent01069a25e4c4f246cbc2a586013fef6d53340585 (diff)
downloadfreebsd-ports-gnome-2e076634f84ac499e1fe9fde6bbc30548e25e4ce.tar.gz
freebsd-ports-gnome-2e076634f84ac499e1fe9fde6bbc30548e25e4ce.tar.zst
freebsd-ports-gnome-2e076634f84ac499e1fe9fde6bbc30548e25e4ce.zip
- Change maintainer email to @FreeBSD.org
- Convert LIB_DEPENDS to new syntax - Add stage support Approved by: wg (mentor)
-rw-r--r--security/tpmmanager/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/security/tpmmanager/Makefile b/security/tpmmanager/Makefile
index 60abb0803152..87970d3feb4a 100644
--- a/security/tpmmanager/Makefile
+++ b/security/tpmmanager/Makefile
@@ -6,12 +6,12 @@ PORTVERSION= 0.8.1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/\.1//}/
-MAINTAINER= danilogondolfo@gmail.com
+MAINTAINER= danilo@FreeBSD.org
COMMENT= TPM Manager
LICENSE= GPLv2
-LIB_DEPENDS= tspi:${PORTSDIR}/security/trousers
+LIB_DEPENDS= libtspi.so:${PORTSDIR}/security/trousers
QT_NONSTANDARD= YES
USE_QT4= gui moc_build qmake_build rcc_build uic_build
@@ -19,24 +19,18 @@ USE_QT4= gui moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE= YES
PLIST_FILES= bin/${PORTNAME}
-
PORTDOCS= *
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} PREFIX=${PREFIX} tpmmanager.pro
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin/
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/latex/${PORTNAME}.pdf ${DOCSDIR}/
- ${INSTALL_DATA} ${WRKSRC}/doc/TPM_Manager.odt ${DOCSDIR}/
-.endif
-
-.include <bsd.port.post.mk>
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/latex/${PORTNAME}.pdf ${STAGEDIR}${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/doc/TPM_Manager.odt ${STAGEDIR}${DOCSDIR}/
+
+.include <bsd.port.mk>