diff options
author | marcus <marcus@FreeBSD.org> | 2011-12-27 08:27:29 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2011-12-27 08:27:29 +0800 |
commit | 8e659804b0764bcac37db72e9ab048c45b15674a (patch) | |
tree | c0b197b4100ed6ebd5b50dc404d38c1a2878d95a /security | |
parent | 18390f2de1fda09416f2f3a2f3cede2808efb6ac (diff) | |
download | freebsd-ports-gnome-8e659804b0764bcac37db72e9ab048c45b15674a.tar.gz freebsd-ports-gnome-8e659804b0764bcac37db72e9ab048c45b15674a.tar.zst freebsd-ports-gnome-8e659804b0764bcac37db72e9ab048c45b15674a.zip |
Install schema files with pam_ldap.
PR: 163492
Submitted by: Mel.Flynn@datakitty.lan.rachie.is-a-geek.net
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} |