- Add LICENSE

- Switch to options helpers
- Remove useless pkg-message
- Remove object files to make sure everythin's rebuit
This commit is contained in:
Dmitry Marakasov 2016-05-22 09:03:43 +00:00
parent c63d72f7db
commit 3b01be43ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415624
2 changed files with 7 additions and 3 deletions

View file

@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}_src
MAINTAINER= ports@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}

View file

@ -1,3 +0,0 @@
************************************************************
You should copy etc/ldapdiff.conf.sample to etc/ldapdiff.conf
************************************************************