aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-01 12:51:11 +0800
committermiwi <miwi@FreeBSD.org>2014-06-01 12:51:11 +0800
commitbeca532558b9502a187a84363589bcab52c2cd13 (patch)
tree3d7a92ac357a4c04d7d87ef936c0a4af579083f8
parentba973ec3062eada6d6e91db849a0fe5b9277b1b9 (diff)
downloadfreebsd-ports-gnome-beca532558b9502a187a84363589bcab52c2cd13.tar.gz
freebsd-ports-gnome-beca532558b9502a187a84363589bcab52c2cd13.tar.zst
freebsd-ports-gnome-beca532558b9502a187a84363589bcab52c2cd13.zip
- Stage support
-rw-r--r--security/pam_ldap/Makefile10
-rw-r--r--security/pam_ldap/pkg-plist1
2 files changed, 3 insertions, 8 deletions
diff --git a/security/pam_ldap/Makefile b/security/pam_ldap/Makefile
index f4fc94b1f399..b7b0380c13c1 100644
--- a/security/pam_ldap/Makefile
+++ b/security/pam_ldap/Makefile
@@ -26,21 +26,15 @@ CONFIGURE_ARGS= --with-ldap-lib=openldap \
PKGMESSAGE= ${WRKDIR}/pkg-message
PORTDATA= *.schema
-MAN5= pam_ldap.5
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' \
${WRKSRC}/vers_string
-pre-install:
- ${MKDIR} ${DATADIR}
-
post-install:
- ${INSTALL_DATA} ${WRKSRC}/*.schema ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.schema ${STAGEDIR}${DATADIR}
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
-e 's|%%DATADIR%%|${DATADIR}|' < ${PKGDIR}/pkg-message \
| /usr/bin/fmt 75 79 > ${PKGMESSAGE}
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/security/pam_ldap/pkg-plist b/security/pam_ldap/pkg-plist
index 752e2989303b..9dcea37b9403 100644
--- a/security/pam_ldap/pkg-plist
+++ b/security/pam_ldap/pkg-plist
@@ -1,2 +1,3 @@
+man/man5/pam_ldap.5.gz
etc/ldap.conf.dist
lib/pam_ldap.so