[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / sks

Annotation of pkgsrc/security/sks/Makefile, Revision 1.15

1.15    ! jaapb       1: # $NetBSD: Makefile,v 1.14 2015/06/12 10:51:10 wiz Exp $
1.1       pettai      2: #
                      3:
1.10      pettai      4: DISTNAME=      sks-1.1.5
1.15    ! jaapb       5: PKGREVISION=   4
1.1       pettai      6: CATEGORIES=    security
1.10      pettai      7: MASTER_SITES=  https://bitbucket.org/skskeyserver/sks-keyserver/downloads/
1.1       pettai      8: EXTRACT_SUFX=  .tgz
                      9:
                     10: MAINTAINER=    pkgsrc-users@NetBSD.org
1.7       pettai     11: HOMEPAGE=      https://bitbucket.org/skskeyserver/
1.1       pettai     12: COMMENT=       Self Replicating PGP Key Server
                     13: LICENSE=       gnu-gpl-v2
                     14:
1.2       dholland   15: MAKE_JOBS_SAFE=        no
                     16:
1.1       pettai     17: BUILDLINK_API_DEPENDS.ocaml+=  ocaml>=3.10.2
                     18: BUILDLINK_API_DEPENDS.db4+=    db4>=4.6.0
                     19:
                     20: REPLACE_SH=    sks_build.sh
                     21:
                     22: USE_TOOLS+=    gmake perl:run tar
                     23: BDB_ACCEPTED=  db4
                     24:
1.7       pettai     25: EGDIR=         ${PREFIX}/share/examples/sks
                     26:
                     27: MAKE_ENV+=     LIBDB=-ldb4 \
1.1       pettai     28:                BDBINCLUDE=-I${BUILDLINK_DIR}/include \
                     29:                BDBLIB=-L${BUILDLINK_DIR}/lib \
                     30:                PREFIX=${PREFIX:Q} \
                     31:                MANDIR=${PREFIX:Q}/man
                     32:
1.7       pettai     33: INSTALLATION_DIRS=     ${PKGMANDIR}/man8 bin ${EGDIR}
1.1       pettai     34:
                     35: .include "../../lang/ocaml/buildlink3.mk"
1.12      jaapb      36: .include "../../lang/camlp4/buildlink3.mk"
1.7       pettai     37: .include "../../databases/db4/buildlink3.mk"
                     38:
                     39: pre-build:
                     40:        cd ${WRKSRC} && ${MAKE_PROGRAM} dep
1.1       pettai     41:
                     42: post-install:
                     43:        cd ${WRKSRC} && ${MAKE_PROGRAM} sks.8
                     44:        ${INSTALL_PROGRAM} ${WRKSRC}/sks ${DESTDIR}${PREFIX}/bin
                     45:        ${INSTALL_PROGRAM} ${WRKSRC}/sks_add_mail ${DESTDIR}${PREFIX}/bin
                     46:        ${INSTALL_SCRIPT} ${WRKSRC}/sks_build.sh ${DESTDIR}${PREFIX}/bin
                     47:        ${INSTALL_MAN} ${WRKSRC}/sks.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
1.7       pettai     48:        ${INSTALL_DATA} ${WRKSRC}/sampleConfig/aliases.sample \
                     49:                                ${DESTDIR}${EGDIR}
                     50:        ${INSTALL_DATA} ${WRKSRC}/sampleConfig/crontab.sample \
                     51:                                ${DESTDIR}${EGDIR}
                     52:        ${INSTALL_DATA} ${WRKSRC}/sampleConfig/mailsync ${DESTDIR}${EGDIR}
                     53:        ${INSTALL_DATA} ${WRKSRC}/sampleConfig/membership ${DESTDIR}${EGDIR}
                     54:        ${INSTALL_DATA} ${WRKSRC}/sampleConfig/procmailrc ${DESTDIR}${EGDIR}
                     55:        ${INSTALL_DATA} ${WRKSRC}/sampleConfig/sksconf.minimal \
                     56:                                ${DESTDIR}${EGDIR}
                     57:        ${INSTALL_DATA} ${WRKSRC}/sampleConfig/sksconf.typical \
                     58:                                ${DESTDIR}${EGDIR}
1.1       pettai     59:
1.3       sbd        60: .include "../../devel/zlib/buildlink3.mk"
1.1       pettai     61: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>