aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ldapvi
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-07-22 01:09:58 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-07-22 01:09:58 +0000
commit76d1e4db531c3580ef7a35c9dd4638a9c8736774 (patch)
treec3b996c751d09259cef1d95023cb75803ea7dddd /sysutils/ldapvi
parent858d7ac54ef1bf31c285f4e427e9f51113c421b6 (diff)
downloadports-76d1e4db531c3580ef7a35c9dd4638a9c8736774.tar.gz
ports-76d1e4db531c3580ef7a35c9dd4638a9c8736774.zip
Notes
Diffstat (limited to 'sysutils/ldapvi')
-rw-r--r--sysutils/ldapvi/Makefile20
-rw-r--r--sysutils/ldapvi/distinfo9
-rw-r--r--sysutils/ldapvi/files/patch-GNUmakefile.in13
3 files changed, 26 insertions, 16 deletions
diff --git a/sysutils/ldapvi/Makefile b/sysutils/ldapvi/Makefile
index 3328079b5321..112ebc401a5f 100644
--- a/sysutils/ldapvi/Makefile
+++ b/sysutils/ldapvi/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ldapvi
-PORTVERSION= 1.5
+PORTVERSION= 1.7
CATEGORIES= sysutils net
MASTER_SITES= http://www.lichteblau.com/download/
@@ -23,23 +23,23 @@ USE_GMAKE= yes
MAKEFILE= GNUmakefile
CFLAGS+= -I${LOCALBASE}/include
+CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+CONFIGURE_ARGS= --mandir=${PREFIX}/man
CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
+ CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
MAN1= ldapvi.1
-PLIST_FILES= bin/ldapvi
+PLIST_FILES= bin/ldapvi \
+ ${DOCSDIR_REL}/manual.css ${DOCSDIR_REL}/manual.xml \
+ ${DOCSDIR_REL}/bg.png ${DOCSDIR_REL}/html.xsl
+PLIST_DIRS= ${DOCSDIR_REL}
.include <bsd.port.pre.mk>
-.ifdef(WANT_OPENLDAP_SASL) && !defined(WITHOUT_SASL)
-PATCH_SITES= http://w3.gofti.com/~pfnguyen/openldap/
-PATCHFILES= ldapvi_sasl_${PORTVERSION}.diff
-PATCH_DIST_STRIP= -p1
+.if !defined(WANT_OPENLDAP_SASL) || defined(WITHOUT_SASL)
+CONFIGURE_ARGS+=--without-sasl
.endif
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${PREFIX}/man/man1
-
.include <bsd.port.post.mk>
diff --git a/sysutils/ldapvi/distinfo b/sysutils/ldapvi/distinfo
index 792ad57fb485..99068ffe3dbd 100644
--- a/sysutils/ldapvi/distinfo
+++ b/sysutils/ldapvi/distinfo
@@ -1,6 +1,3 @@
-MD5 (ldapvi-1.5.tar.gz) = e98f9fbd5596aac81373a849888a87f1
-SHA256 (ldapvi-1.5.tar.gz) = 2515249e3e9e36dd78e319b08b8e812c0f186a691a598489119faa8b828b6330
-SIZE (ldapvi-1.5.tar.gz) = 75707
-MD5 (ldapvi_sasl_1.5.diff) = 82dcae24b138bef5c6ef344533c7490f
-SHA256 (ldapvi_sasl_1.5.diff) = 9bd02c5073a4238c6431967716dbb74cfae7157dba240f106ac2e2df97b5739e
-SIZE (ldapvi_sasl_1.5.diff) = 69412
+MD5 (ldapvi-1.7.tar.gz) = 6dc2f5441ac5f1e2b5b036e3521012cc
+SHA256 (ldapvi-1.7.tar.gz) = 6f62e92d20ff2ac0d06125024a914b8622e5b8a0a0c2d390bf3e7990cbd2e153
+SIZE (ldapvi-1.7.tar.gz) = 119503
diff --git a/sysutils/ldapvi/files/patch-GNUmakefile.in b/sysutils/ldapvi/files/patch-GNUmakefile.in
new file mode 100644
index 000000000000..73054d7f42d5
--- /dev/null
+++ b/sysutils/ldapvi/files/patch-GNUmakefile.in
@@ -0,0 +1,13 @@
+--- GNUmakefile.in.orig 2007-07-15 15:25:07.653278406 +0200
++++ GNUmakefile.in 2007-07-15 15:26:01.574449285 +0200
+@@ -27,8 +27,8 @@
+ install: ldapvi
+ mkdir -p @bindir@ @mandir@/man1/ @prefix@/share/doc/ldapvi
+ @INSTALL_PROGRAM@ ldapvi @bindir@
+- @INSTALL_PROGRAM@ -m 644 ldapvi.1 @mandir@/man1/
+- @INSTALL_PROGRAM@ -m 644 manual/manual.css manual/manual.xml manual/bg.png manual/html.xsl @prefix@/share/doc/ldapvi
++ @INSTALL_DATA@ ldapvi.1 @mandir@/man1/
++ @INSTALL_DATA@ manual/manual.css manual/manual.xml manual/bg.png manual/html.xsl @prefix@/share/doc/ldapvi
+
+ distclean:
+ rm -rf configure GNUmakefile config.h config.log autom4te.cache config.status