[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.9

1.9     ! wiz         1: # $NetBSD: Makefile,v 1.8 2013/02/06 23:23:25 jperkin Exp $
1.1       schmonz     2: #
                      3:
                      4: DISTNAME=              ucspi-ssl-0.70
1.9     ! wiz         5: PKGREVISION=           6
1.1       schmonz     6: CATEGORIES=            net
1.5       schmonz     7: MASTER_SITES=          ${HOMEPAGE}
1.1       schmonz     8:
                      9: MAINTAINER=            schmonz@NetBSD.org
1.5       schmonz    10: HOMEPAGE=              http://www.superscript.com/ucspi-ssl/
1.1       schmonz    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
1.5       schmonz    17: DJB_RESTRICTED=                no
1.1       schmonz    18:
                     19: SSL_SCRIPTS=           https@ sslcat sslconnect
1.2       schmonz    20: SSL_PROGRAMS=          sslclient sslserver
1.1       schmonz    21:
                     22: SUBST_CLASSES+=                paths
                     23: SUBST_STAGE.paths=     do-configure
                     24: SUBST_FILES.paths=     ${SSL_SCRIPTS:S/^/src\//g:S/$/.sh/g}
                     25: SUBST_SED.paths=       -e 's|HOME/command/|${PREFIX}/bin/|g'
1.2       schmonz    26: SUBST_MESSAGE.paths=   Fixing paths.
                     27:
                     28: PLIST_SRC=             ${PKGDIR}/PLIST
1.1       schmonz    29:
                     30: DJB_CONFIG_CMDS=                                                       \
                     31:        ${ECHO} ${LOCALBASE}/bin > conf-tcpbin;                         \
                     32:        ${ECHO} > conf-ssl;                                             \
1.2       schmonz    33:        ${ECHO} ${PKG_SYSCONFDIR} > conf-cadir;
1.1       schmonz    34:
                     35: .include "../../mk/bsd.prefs.mk"
                     36:
                     37: # from ../../security/openssl/Makefile
                     38: .if ${OPSYS} == "NetBSD"
                     39: PKG_SYSCONFDIR.ucspi-ssl?=     /etc/openssl
                     40: .endif
                     41: PKG_SYSCONFSUBDIR=     openssl
                     42:
                     43: INSTALLATION_DIRS=     bin share/doc/ucspi-ssl
                     44:
                     45: do-install:
                     46: .      for i in ${SSL_SCRIPTS}
1.5       schmonz    47:          ${INSTALL_SCRIPT} ${WRKSRC}/command/${i} ${DESTDIR}${PREFIX}/bin
1.1       schmonz    48: .      endfor
                     49:
1.2       schmonz    50: .      for i in ${SSL_PROGRAMS}
1.5       schmonz    51:          ${INSTALL_PROGRAM} ${WRKSRC}/command/${i} ${DESTDIR}${PREFIX}/bin
1.1       schmonz    52: .      endfor
                     53:
                     54: .      for i in CHANGES TODO UCSPI-SSL
1.5       schmonz    55:          ${INSTALL_DATA} ${WRKSRC}/src/${i} \
                     56:            ${DESTDIR}${PREFIX}/share/doc/ucspi-ssl
1.1       schmonz    57: .      endfor
                     58:
                     59: .include "../../security/openssl/buildlink3.mk"
                     60: .include "../../mk/djbware.mk"
                     61: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>