diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2011-12-27 00:27:29 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2011-12-27 00:27:29 +0000 |
commit | 439eef1dc19bb502c52c1026a134b938602b9330 (patch) | |
tree | d65d2baa6b7a9dc956f180e1099944c088946235 /security | |
parent | db2e3356a8cffa1f1d80181ed6d796e8fd965787 (diff) |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/pam_ldap/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/security/pam_ldap/Makefile b/security/pam_ldap/Makefile index a196f2b6aba7..79d939b58a1c 100644 --- a/security/pam_ldap/Makefile +++ b/security/pam_ldap/Makefile @@ -7,7 +7,7 @@ PORTNAME= pam_ldap PORTVERSION= 1.8.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security net MASTER_SITES= http://www.padl.com/download/ \ ftp://ftp.padl.com/pub/ @@ -28,6 +28,7 @@ CONFIGURE_ARGS= --with-ldap-lib=openldap \ --with-ldap-secret-file=${PREFIX}/etc/ldap.secret PKGMESSAGE= ${WRKDIR}/pkg-message +PORTDATA= *.schema MAN5= pam_ldap.5 @@ -35,8 +36,13 @@ post-patch: @${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' \ ${WRKSRC}/vers_string +pre-install: + ${MKDIR} ${DATADIR} + post-install: - @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \ + ${INSTALL_DATA} ${WRKSRC}/*.schema ${DATADIR} + @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ + -e 's|%%DATADIR%%|${DATADIR}|' < ${PKGDIR}/pkg-message \ | /usr/bin/fmt 75 79 > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} |