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

Annotation of pkgsrc/security/openpam/Makefile, Revision 1.32

1.32    ! triaxx      1: # $NetBSD: Makefile,v 1.31 2019/12/30 19:44:33 triaxx Exp $
1.1       jlam        2:
1.31      triaxx      3: DISTNAME=      openpam-20190224
1.32    ! triaxx      4: PKGREVISION=   1
1.1       jlam        5: CATEGORIES=    security
                      6: MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=openpam/}
                      7:
1.13      joerg       8: MAINTAINER=    joerg@NetBSD.org
1.25      wiz         9: HOMEPAGE=      https://www.openpam.org/
1.8       rillig     10: COMMENT=       Open-source PAM library
1.16      spz        11: LICENSE=       modified-bsd
1.1       jlam       12:
                     13: CONFLICTS+=    PAM-[0-9]*
                     14:
                     15: USE_LIBTOOL=           yes
                     16: GNU_CONFIGURE=         yes
1.9       rillig     17: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
1.1       jlam       18: CONFIGURE_ARGS+=       --with-pam-unix
                     19: CONFIGURE_ARGS+=       --with-modules-dir=${PREFIX}/lib/security
                     20:
1.26      rillig     21: CPPFLAGS+=             -DSYSCONFDIR=\"${PKG_SYSCONFDIR}\"
1.21      joerg      22:
1.29      triaxx     23: EGDIR=                 ${PREFIX}/share/examples/${PKGBASE}
                     24: CONF_FILES+=           ${EGDIR}/pam.d/other ${PKG_SYSCONFDIR}/pam.d/other
                     25: CONF_FILES+=           ${EGDIR}/pam.d/sudo ${PKG_SYSCONFDIR}/pam.d/sudo
                     26:
1.6       jlam       27: OWN_DIRS=              ${PKG_SYSCONFDIR}/pam.d
1.29      triaxx     28: INSTALLATION_DIRS+=    ${EGDIR}/pam.d
1.6       jlam       29:
1.27      triaxx     30: SUBST_CLASSES+=                man
                     31: SUBST_MESSAGE.man=     Fixing hardcoded paths in manpages.
                     32: SUBST_STAGE.man=       post-build
                     33: SUBST_FILES.man=       doc/man/pam.conf.5
                     34: SUBST_VARS.man=                PKG_SYSCONFDIR PREFIX
                     35:
1.29      triaxx     36: post-extract:
                     37:        ${MKDIR} -p ${WRKSRC}/doc/pam.d
                     38:        ${CP} ${FILESDIR}/other ${WRKSRC}/doc/pam.d/other
                     39:        ${CP} ${FILESDIR}/sudo ${WRKSRC}/doc/pam.d/sudo
                     40:
                     41: post-install:
                     42:        ${INSTALL_DATA} ${WRKSRC}/doc/pam.d/other ${DESTDIR}${EGDIR}/pam.d/other
                     43:        ${INSTALL_DATA} ${WRKSRC}/doc/pam.d/sudo ${DESTDIR}${EGDIR}/pam.d/sudo
                     44:
1.2       jlam       45: .include "../../mk/dlopen.buildlink3.mk"
                     46:
1.1       jlam       47: # Create a fake perl binary to avoid recreating the man pages.
                     48: post-tools:
                     49:        ${RM} -f ${TOOLS_DIR}/bin/perl
1.4       jlam       50:        ${ECHO} "#!${TOOLS_SHELL}" > ${TOOLS_DIR}/bin/perl
                     51:        ${ECHO} "${TRUE}" >> ${TOOLS_DIR}/bin/perl
                     52:        ${CHMOD} +x ${TOOLS_DIR}/bin/perl
1.1       jlam       53:
                     54: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>