[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / ucspi-ssl

Annotation of pkgsrc/net/ucspi-ssl/Makefile, Revision 1.3

1.3     ! tnn         1: # $NetBSD: Makefile,v 1.2 2006/04/02 17:44:16 schmonz Exp $
1.1       schmonz     2: #
                      3:
                      4: DISTNAME=              ucspi-ssl-0.70
1.3     ! tnn         5: PKGREVISION=           2
1.1       schmonz     6: CATEGORIES=            net
                      7: MASTER_SITES=          http://www.superscript.com/ucspi-ssl/
                      8:
                      9: MAINTAINER=            schmonz@NetBSD.org
                     10: HOMEPAGE=              http://www.superscript.com/ucspi-ssl/intro.html
                     11: COMMENT=               Command-line tools for SSL client-server applications
                     12:
                     13: DEPENDS+=              ucspi-tcp-[0-9]*:../../net/ucspi-tcp
                     14:
                     15: WRKSRC=                        ${WRKDIR}/host/superscript.com/net/${PKGNAME_NOREV}
                     16: DJB_SLASHPACKAGE=      YES
                     17:
                     18: SSL_SCRIPTS=           https@ sslcat sslconnect
1.2       schmonz    19: SSL_PROGRAMS=          sslclient sslserver
1.1       schmonz    20:
                     21: SUBST_CLASSES+=                paths
                     22: SUBST_STAGE.paths=     do-configure
                     23: SUBST_FILES.paths=     ${SSL_SCRIPTS:S/^/src\//g:S/$/.sh/g}
                     24: SUBST_SED.paths=       -e 's|HOME/command/|${PREFIX}/bin/|g'
1.2       schmonz    25: SUBST_MESSAGE.paths=   Fixing paths.
                     26:
                     27: PLIST_SRC=             ${PKGDIR}/PLIST
1.1       schmonz    28:
                     29: DJB_CONFIG_CMDS=                                                       \
                     30:        ${ECHO} ${LOCALBASE}/bin > conf-tcpbin;                         \
                     31:        ${ECHO} > conf-ssl;                                             \
1.2       schmonz    32:        ${ECHO} ${PKG_SYSCONFDIR} > conf-cadir;
1.1       schmonz    33:
                     34: .include "../../mk/bsd.prefs.mk"
                     35:
                     36: # from ../../security/openssl/Makefile
                     37: .if ${OPSYS} == "NetBSD"
                     38: PKG_SYSCONFDIR.ucspi-ssl?=     /etc/openssl
                     39: .endif
                     40: PKG_SYSCONFSUBDIR=     openssl
                     41:
                     42: INSTALLATION_DIRS=     bin share/doc/ucspi-ssl
                     43:
                     44: do-install:
                     45: .      for i in ${SSL_SCRIPTS}
                     46:          ${INSTALL_SCRIPT} ${WRKSRC}/command/${i} ${PREFIX}/bin
                     47: .      endfor
                     48:
1.2       schmonz    49: .      for i in ${SSL_PROGRAMS}
1.1       schmonz    50:          ${INSTALL_PROGRAM} ${WRKSRC}/command/${i} ${PREFIX}/bin
                     51: .      endfor
                     52:
                     53: .      for i in CHANGES TODO UCSPI-SSL
                     54:          ${INSTALL_DATA} ${WRKSRC}/src/${i} ${PREFIX}/share/doc/ucspi-ssl
                     55: .      endfor
                     56:
                     57: .include "../../security/openssl/buildlink3.mk"
                     58: .include "../../mk/djbware.mk"
                     59: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>