aboutsummaryrefslogtreecommitdiffstats
path: root/net/ldapsh
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2004-07-29 08:26:24 +0800
committeredwin <edwin@FreeBSD.org>2004-07-29 08:26:24 +0800
commit0d8f300d089d002ff4236161b786eca7f82557ca (patch)
treeb36ba80ab3ddc4fd5b9828f0131aad5887bd3d11 /net/ldapsh
parent34416a8a75466ab1d9edcd3f0529482cda45b64a (diff)
downloadfreebsd-ports-gnome-0d8f300d089d002ff4236161b786eca7f82557ca.tar.gz
freebsd-ports-gnome-0d8f300d089d002ff4236161b786eca7f82557ca.tar.zst
freebsd-ports-gnome-0d8f300d089d002ff4236161b786eca7f82557ca.zip
Added documentation and pkg-message.
Submitted by: Florent Thoumie <flz@xbsd.org>
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