diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-22 09:03:43 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-05-22 09:03:43 +0000 |
commit | 3b01be43aca951631070a6c3c29e0c1633a38220 (patch) | |
tree | eb66f83c55f1de2cb43d83d6f146f58b01bffded | |
parent | c63d72f7db88fe067209cfac4b683fd0105df6b3 (diff) |
- Add LICENSE
- Switch to options helpers
- Remove useless pkg-message
- Remove object files to make sure everythin's rebuit
Notes
Notes:
svn path=/head/; revision=415624
-rw-r--r-- | net/ldapdiff/Makefile | 7 | ||||
-rw-r--r-- | net/ldapdiff/pkg-message | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/net/ldapdiff/Makefile b/net/ldapdiff/Makefile index 55a5a88f9228..4184ce4ac61f 100644 --- a/net/ldapdiff/Makefile +++ b/net/ldapdiff/Makefile @@ -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} diff --git a/net/ldapdiff/pkg-message b/net/ldapdiff/pkg-message deleted file mode 100644 index 3c31485660e6..000000000000 --- a/net/ldapdiff/pkg-message +++ /dev/null @@ -1,3 +0,0 @@ -************************************************************ -You should copy etc/ldapdiff.conf.sample to etc/ldapdiff.conf -************************************************************ |