svn commit: r341580 - in head/sysutils/ldapvi: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Tue Jan 28 14:34:09 UTC 2014
Author: danfe
Date: Tue Jan 28 14:34:08 2014
New Revision: 341580
URL: http://svnweb.freebsd.org/changeset/ports/341580
QAT: https://qat.redports.org/buildarchive/r341580/
Log:
- Stagify, contract MASTER_SITES, drop an article from COMMENT, drop
LICENSE_FILE for GPLv2
- Modernize LIB_DEPENDS syntax, convert USE_GMAKE, clean up Makefile
and port description text while here
Modified:
head/sysutils/ldapvi/Makefile
head/sysutils/ldapvi/files/patch-GNUmakefile.in
head/sysutils/ldapvi/pkg-descr
Modified: head/sysutils/ldapvi/Makefile
==============================================================================
--- head/sysutils/ldapvi/Makefile Tue Jan 28 14:31:22 2014 (r341579)
+++ head/sysutils/ldapvi/Makefile Tue Jan 28 14:34:08 2014 (r341580)
@@ -6,36 +6,32 @@ PORTVERSION= 1.7
PORTREVISION= 3
CATEGORIES= sysutils net
MASTER_SITES= http://www.lichteblau.com/download/ \
- ${MASTER_SITE_LOCAL:S,%SUBDIR%,sbz,}
+ LOCAL/sbz
MAINTAINER= sbz at FreeBSD.org
-COMMENT= A tool to update LDAP entries with a text editor
+COMMENT= Tool to update LDAP entries with a text editor
LICENSE= GPLv2
-LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= popt:${PORTSDIR}/devel/popt
+LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt
+USES= gmake iconv pkgconfig
USE_OPENLDAP= yes
USE_GNOME= glib20
-USES= pkgconfig iconv
GNU_CONFIGURE= yes
-USE_GMAKE= yes
MAKEFILE= GNUmakefile
-CFLAGS+= -I${LOCALBASE}/include
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-MAN1= ${PORTNAME}.1
-PLIST_FILES= bin/${PORTNAME} \
+PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz \
${DOCSDIR_REL}/manual.css ${DOCSDIR_REL}/manual.xml \
${DOCSDIR_REL}/bg.png ${DOCSDIR_REL}/html.xsl
PLIST_DIRS= ${DOCSDIR_REL}
+# XXX should probably be converted to OptionsNG
.if !defined(WANT_OPENLDAP_SASL) || defined(WITHOUT_SASL)
-CONFIGURE_ARGS+=--without-sasl
+CONFIGURE_ARGS= --without-sasl
.endif
-NO_STAGE= yes
.include <bsd.port.mk>
Modified: head/sysutils/ldapvi/files/patch-GNUmakefile.in
==============================================================================
--- head/sysutils/ldapvi/files/patch-GNUmakefile.in Tue Jan 28 14:31:22 2014 (r341579)
+++ head/sysutils/ldapvi/files/patch-GNUmakefile.in Tue Jan 28 14:34:08 2014 (r341580)
@@ -1,13 +1,17 @@
--- 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 @@
+@@ -25,10 +25,10 @@ ldapvi.1: version.h ldapvi ldapvi.1.in
+
+ .PHONY: install
install: ldapvi
- mkdir -p @bindir@ @mandir@/man1/ @prefix@/share/doc/ldapvi
- @INSTALL_PROGRAM@ ldapvi @bindir@
+- 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
++ mkdir -p $(DESTDIR)@bindir@ $(DESTDIR)@mandir@/man1 $(DESTDIR)@prefix@/share/doc/ldapvi
++ @INSTALL_PROGRAM@ ldapvi $(DESTDIR)@bindir@
++ @INSTALL_DATA@ ldapvi.1 $(DESTDIR)@mandir@/man1
++ @INSTALL_DATA@ manual/manual.css manual/manual.xml manual/bg.png manual/html.xsl $(DESTDIR)@prefix@/share/doc/ldapvi
distclean:
rm -rf configure GNUmakefile config.h config.log autom4te.cache config.status
Modified: head/sysutils/ldapvi/pkg-descr
==============================================================================
--- head/sysutils/ldapvi/pkg-descr Tue Jan 28 14:31:22 2014 (r341579)
+++ head/sysutils/ldapvi/pkg-descr Tue Jan 28 14:34:08 2014 (r341580)
@@ -1,16 +1,15 @@
-ldapvi is tool to update LDAP entries with a text editor.
+ldapvi is tool to update LDAP entries with a text editor. It is:
-It is:
-# Written in C.
-# Reasonably fast and small. The ldapvi client needs about as much time for
- receiving entries as the OpenLDAP server needs to sends them, which should be
- fast enough.
-# Shows a summary of changes before committing them. Details of the changes can
- be previewed in LDIF format.
-# Uses an LDIF-like format in the editor (which should be easier to use
- interactively than standard LDIF).
-# Can rename entries.
-# Does not give up easily. On error, you can edit the file again or rebind to
- the server and try again.
+ - Written in C;
+ - Reasonably fast and small. The ldapvi client needs about as much time
+ for receiving entries as the OpenLDAP server needs to send them, which
+ should be fast enough;
+ - Shows a summary of changes before committing them. Details of the
+ changes can be previewed in LDIF format;
+ - Uses an LDIF-like format in the editor (which should be easier to use
+ interactively than standard LDIF);
+ - Can rename entries;
+ - Does not give up easily. On error, you can edit the file again, or
+ rebind to the server and try again.
WWW: http://www.lichteblau.com/ldapvi.html
More information about the svn-ports-head
mailing list