blob: 5b5ac722cf7f4725ba93938bbbede090dbe298a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# $NetBSD: Makefile,v 1.9 2004/12/17 15:37:01 taca Exp $
#
DISTNAME= AiCA-0.81
CATEGORIES= security
MASTER_SITES= http://mars.elcom.nitech.ac.jp/security/
MAINTAINER= tech-pkg-ja@jp.netbsd.org
HOMEPAGE= http://mars.elcom.nitech.ac.jp/security/
COMMENT= Manage Certification Authority and PKI utilities
USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
INSTALL_EXTRA_TMPL+= ${.CURDIR}/INSTALL
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/AiCA
PKG_SYSCONFSUBDIR?= AiCA
CONF_FILES+= ${EXAMPLESDIR}/aica.cnf ${PKG_SYSCONFDIR}/aica.cnf
OWN_DIRS+= ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/store
DOCDIR= ${PREFIX}/share/doc/AiCA
EXAMPLESDIR= ${PREFIX}/share/examples/AiCA
COMMANDS= aica/aica bin/aistore bin/asn1view bin/certconv \
bin/certreq bin/certvfy bin/certview
LIBRARIES= libaica.a libaicrypto.a libaissl.a
DOCS= COPYRIGHT README README.j
EXAMPLES= lib/aica.cnf sample.csv
pre-configure:
cd ${WRKSRC}; \
${ECHO} >> aicrypto/ecdsa/Makefile.in; \
${CP} README README.in; ${CP} README.j README.j.in
do-install:
.for f in ${LIBRARIES}
${INSTALL_LIB} ${WRKSRC}/lib/$f ${PREFIX}/lib
.endfor
.for f in ${COMMANDS}
${INSTALL_PROGRAM} ${WRKSRC}/$f ${PREFIX}/bin
.endfor
${INSTALL_SCRIPT} ${WRKSRC}/bin/newca.sh ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/aicrypto/include/*.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/aiconfig.h ${PREFIX}/include
${INSTALL_DATA_DIR} ${PREFIX}/certs
${CP} ${WRKSRC}/certs/* ${PREFIX}/certs
${INSTALL_DATA_DIR} ${PREFIX}/templates
${CP} ${WRKSRC}/templates/* ${PREFIX}/templates
${INSTALL_DATA_DIR} ${DOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/$f ${DOCDIR}
.endfor
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/$f ${EXAMPLESDIR}
.endfor
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|