1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/security/tinyca/Makefile
Olli Hauer bebfbe94ac - add stage support
- use shebangfix
2014-04-15 13:34:54 +00:00

43 lines
1.5 KiB
Makefile

# Created by: Janos.Mohacsi@bsd.hu
# $FreeBSD$
PORTNAME= tinyca
PORTVERSION= 0.7.5
PORTREVISION= 5
CATEGORIES= security net
MASTER_SITES= http://tinyca.sm-zone.net/ \
http://tinyca.sm-zone.net/old/
DISTNAME= ${PORTNAME}2-${PORTVERSION}
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Simple graphical interface to manage a small Certification Authority
RUN_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext \
zip:${PORTSDIR}/archivers/zip \
p5-MIME-Base64>=0:${PORTSDIR}/converters/p5-MIME-Base64
USES= perl5 tar:bzip2 shebangfix
USE_OPENSSL= yes
SHEBANG_FILES= tinyca2
NO_BUILD= yes
DOC_FILES= INSTALL
LIB_FILES= CA.pm CERT.pm GUI.pm HELPERS.pm KEY.pm OpenSSL.pm REQ.pm TCONFIG.pm
LIB2_FILES= CALLBACK.pm HELPERS.pm TCONFIG.pm WORDS.pm X509_browser.pm X509_infobox.pm
do-install:
@${MKDIR} ${STAGEDIR}${SITE_PERL}/${PORTNAME}/GUI
${INSTALL_DATA} ${LIB_FILES:S|^|${WRKSRC}/lib/|} ${STAGEDIR}${SITE_PERL}/${PORTNAME}
${INSTALL_DATA} ${LIB2_FILES:S|^|${WRKSRC}/lib/GUI/|} ${STAGEDIR}${SITE_PERL}/${PORTNAME}/GUI
${INSTALL_DATA} ${WRKSRC}/templates/openssl.cnf ${STAGEDIR}${PREFIX}/etc/tinyca.cnf.sample
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
-e "s:%%SITE_PERL%%:${SITE_PERL}:g" \
-e "s:%%OPENSSLBASE%%:${OPENSSLBASE}:g" \
${WRKSRC}/tinyca2 >${WRKSRC}/tinyca.new
${INSTALL_SCRIPT} ${WRKSRC}/tinyca.new ${STAGEDIR}${PREFIX}/bin/tinyca
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>