2003-08-31 10:49:28 +02:00
|
|
|
# New ports collection makefile for: tinyca
|
2005-04-06 11:15:23 +02:00
|
|
|
# Date created: 17 July 2003
|
|
|
|
# Whom: Janos.Mohacsi@bsd.hu
|
2003-08-31 10:49:28 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tinyca
|
2006-08-09 11:02:30 +02:00
|
|
|
PORTVERSION= 0.7.5
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2003-08-31 10:49:28 +02:00
|
|
|
CATEGORIES= security net
|
2004-07-23 18:56:04 +02:00
|
|
|
MASTER_SITES= http://tinyca.sm-zone.net/ \
|
2004-08-26 19:38:18 +02:00
|
|
|
http://tinyca.sm-zone.net/old/
|
2005-06-16 17:51:40 +02:00
|
|
|
DISTNAME= ${PORTNAME}2-${PORTVERSION}
|
2003-08-31 10:49:28 +02:00
|
|
|
|
2004-12-18 17:46:59 +01:00
|
|
|
MAINTAINER= janos.mohacsi@bsd.hu
|
2003-08-31 10:49:28 +02:00
|
|
|
COMMENT= Simple graphical interface to manage a small Certification Authority
|
|
|
|
|
2005-06-16 17:51:40 +02:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Gtk2.pm:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
|
2003-08-31 10:49:28 +02:00
|
|
|
${SITE_PERL}/${PERL_ARCH}/Locale/gettext.pm:${PORTSDIR}/devel/p5-Locale-gettext \
|
2004-01-08 18:55:00 +01:00
|
|
|
zip:${PORTSDIR}/archivers/zip \
|
|
|
|
${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
|
2003-08-31 10:49:28 +02:00
|
|
|
|
2004-12-18 17:46:59 +01:00
|
|
|
USE_BZIP2= yes
|
2003-08-31 10:49:28 +02:00
|
|
|
USE_PERL5= yes
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
DOC_FILES= INSTALL
|
2004-06-24 16:30:53 +02:00
|
|
|
LIB_FILES= CA.pm CERT.pm GUI.pm HELPERS.pm KEY.pm OpenSSL.pm REQ.pm TCONFIG.pm
|
2004-07-23 18:56:04 +02:00
|
|
|
LIB2_FILES= CALLBACK.pm HELPERS.pm TCONFIG.pm WORDS.pm X509_browser.pm X509_infobox.pm
|
2003-08-31 10:49:28 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${SITE_PERL}/${PORTNAME}/
|
2004-06-24 16:30:53 +02:00
|
|
|
@${MKDIR} ${SITE_PERL}/${PORTNAME}/GUI
|
2003-08-31 10:49:28 +02:00
|
|
|
.for file in ${LIB_FILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/${file} ${SITE_PERL}/${PORTNAME}
|
2004-06-24 16:30:53 +02:00
|
|
|
.endfor
|
|
|
|
.for file in ${LIB2_FILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/lib/GUI/${file} ${SITE_PERL}/${PORTNAME}/GUI
|
2003-08-31 10:49:28 +02:00
|
|
|
.endfor
|
2004-12-18 17:46:59 +01:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/templates/openssl.cnf ${PREFIX}/etc/tinyca.cnf.sample
|
2003-08-31 10:49:28 +02:00
|
|
|
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" -e "s:%%SITE_PERL%%:${SITE_PERL}:g" \
|
2005-06-16 17:51:40 +02:00
|
|
|
${WRKSRC}/tinyca2 >${WRKSRC}/tinyca.new
|
2003-08-31 10:49:28 +02:00
|
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/tinyca.new ${PREFIX}/bin/tinyca
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.ifndef(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${DOC_FILES}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|