# $NetBSD: Makefile,v 1.3 2004/03/26 02:27:52 wiz Exp $ # DISTNAME= tpm-1.1b PKGNAME= ${DISTNAME:S/tpm/libtcpa/} PKGREVISION= 1 CATEGORIES= security MASTER_SITES= ${HOMEPAGE} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} tcpa_man_20031210.tgz MAINTAINER= schmonz@NetBSD.org HOMEPAGE= http://www.research.ibm.com/gsal/tcpa/ COMMENT= TCPA libraries and test programs from IBM PKG_INSTALLATION_TYPES= overwrite pkgviews WRKSRC= ${WRKDIR}/TPM USE_BUILDLINK3= yes SITES_tcpa_man_20031210.tgz= http://www.citi.umich.edu/u/rwash/projects/trusted/ BUILD_DIRS= ${WRKSRC}/libtcpa ${WRKSRC}/examples INSTALLATION_DIRS= bin lib man/man3 share/doc/${PKGBASE} do-install: ${INSTALL_DATA} ${WRKSRC}/libtcpa/libtcpa.a ${PREFIX}/lib for f in tcpa_demo takeown createkey loadkey evictkey signfile \ verifyfile sealfile unsealfile; do \ ${INSTALL_PROGRAM} ${WRKSRC}/examples/$${f} ${PREFIX}/bin; \ done for f in ${WRKDIR}/tcpa_man/*.3; do \ ${INSTALL_MAN} $${f} ${PREFIX}/man/man3; \ done ${INSTALL_DATA} ${WRKSRC}/libtcpa/License ${PREFIX}/share/doc/${PKGBASE} ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE} .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk"