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

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

CVSweb <webmaster@jp.NetBSD.org>