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

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

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

CVSweb <webmaster@jp.NetBSD.org>