aboutsummaryrefslogtreecommitdiff
path: root/net/ldapsh
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-07-29 00:26:24 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-07-29 00:26:24 +0000
commit747f49f45efb0b5e0005fb9afd6c92f793f1e4b2 (patch)
treef950db11ec47a7229dbbbece6240358e86c733f3 /net/ldapsh
parent3303f296f7cc1ab43740f423a0e0d024f7b113ef (diff)
downloadports-747f49f45efb0b5e0005fb9afd6c92f793f1e4b2.tar.gz
ports-747f49f45efb0b5e0005fb9afd6c92f793f1e4b2.zip
Notes
Diffstat (limited to 'net/ldapsh')
-rw-r--r--net/ldapsh/Makefile6
-rw-r--r--net/ldapsh/pkg-message6
-rw-r--r--net/ldapsh/pkg-plist1
3 files changed, 13 insertions, 0 deletions
diff --git a/net/ldapsh/Makefile b/net/ldapsh/Makefile
index 6eb0ddbd16ec..1dbe5582f97e 100644
--- a/net/ldapsh/Makefile
+++ b/net/ldapsh/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ldapsh
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://madstop.com/ldapsh/
EXTRACT_SUFX= .tgz
@@ -31,6 +32,8 @@ BUILD_DEPENDS+= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
.endif
do-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COMMANDS ${DOCSDIR}
${INSTALL_SCRIPT} ${WRKSRC}/ldapsh ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/examples/LdapConfig.pl ${PREFIX}/etc/LdapConfig.pl.sample
${CP} -r ${WRKSRC}/lib/Net ${SITE_PERL}
@@ -38,4 +41,7 @@ do-install:
post-patch:
${REINPLACE_CMD} -e "s,/usr/local/bin/perl,${PERL}," ${WRKSRC}/ldapsh
+post-install:
+ ${CAT} ${PKGMESSAGE}
+
.include <bsd.port.post.mk>
diff --git a/net/ldapsh/pkg-message b/net/ldapsh/pkg-message
new file mode 100644
index 000000000000..9eeb00da2152
--- /dev/null
+++ b/net/ldapsh/pkg-message
@@ -0,0 +1,6 @@
+Before you can run the command:
+
+- Create the configuration file (an example is in
+ /usr/local/etc/LdapConfig.pl.sample)
+- See the file COMMANDS in the DOCSDIR (most likely
+ /usr/local/share/doc/ldapsh) for an overview of the commands.
diff --git a/net/ldapsh/pkg-plist b/net/ldapsh/pkg-plist
index 195d2d900f4f..f8f24c8aa55a 100644
--- a/net/ldapsh/pkg-plist
+++ b/net/ldapsh/pkg-plist
@@ -13,5 +13,6 @@ etc/LdapConfig.pl.sample
%%SITE_PERL%%/Net/LDAP/Shell/Desc.pm
%%SITE_PERL%%/Net/LDAP/Shell/Schema.pm
%%SITE_PERL%%/Net/LDAP/Shell/Util.pm
+%%DOCSDIR%%/COMMANDS
@dirrm %%SITE_PERL%%/Net/LDAP/Shell/Commands
@dirrm %%SITE_PERL%%/Net/LDAP/Shell