svn commit: r415624 - head/net/ldapdiff

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun May 22 09:03:45 UTC 2016


Author: amdmi3
Date: Sun May 22 09:03:43 2016
New Revision: 415624
URL: https://svnweb.freebsd.org/changeset/ports/415624

Log:
  - Add LICENSE
  - Switch to options helpers
  - Remove useless pkg-message
  - Remove object files to make sure everythin's rebuit

Deleted:
  head/net/ldapdiff/pkg-message
Modified:
  head/net/ldapdiff/Makefile

Modified: head/net/ldapdiff/Makefile
==============================================================================
--- head/net/ldapdiff/Makefile	Sun May 22 08:07:19 2016	(r415623)
+++ head/net/ldapdiff/Makefile	Sun May 22 09:03:43 2016	(r415624)
@@ -11,6 +11,8 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}_src
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Utility for patching LDAP directories using LDIF files
 
+LICENSE=	GPLv3+
+
 USES=		iconv tar:tgz
 USE_OPENLDAP=	yes
 GNU_CONFIGURE=	yes
@@ -31,6 +33,9 @@ OPTIONS_DEFINE=	DOCS
 CONFIGURE_ARGS+=--with-iconv-dir=${LOCALBASE}
 .endif
 
+post-extract:
+	@cd ${WRKSRC} && ${RM} -f *.o ldapdiff Makefile config.h
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/ldapdiff ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/ldapdiff.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@@ -39,6 +44,8 @@ do-install:
 .for sample in ${SAMPLES}
 	${INSTALL_DATA} ${WRKSRC}/samples/${sample} ${STAGEDIR}${DATADIR}/samples
 .endfor
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docs in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}


More information about the svn-ports-head mailing list