# New ports collection makefile for: makepasswd # Date created: 7 March 2003 # Whom: Toni Viemerö # # $FreeBSD$ # PORTNAME= makepasswd PORTVERSION= 1.10 PORTREVISION= 4 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} DISTNAME= ${PORTNAME}_${PORTVERSION}.orig PATCHFILES= ${PORTNAME}_${PORTVERSION}-5.diff.gz PATCH_SITES= ${MASTER_SITES} PATCH_SITE_SUBDIR= ${MASTER_SITE_SUBDIR} PATCH_DIST_STRIP= -p1 MAINTAINER= toni.viemero@iki.fi COMMENT= Random password generator LICENSE= GPLv1 NO_BUILD= yes USE_PERL5_RUN= yes RUN_DEPENDS+= ${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \ ${SITE_PERL}/${PERL_ARCH}/Crypt/OpenSSL/Random.pm:${PORTSDIR}/security/p5-Crypt-OpenSSL-Random WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAN1= makepasswd.1 DOCS= CHANGES README .include post-patch: ${REINPLACE_CMD} -e "s/use bytes;/#use bytes;/" ${WRKSRC}/makepasswd do-install: ${INSTALL_SCRIPT} ${WRKSRC}/makepasswd ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif .include