diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-22 17:03:43 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-05-22 17:03:43 +0800 |
commit | feb513758239820148d0c08bdc9054f01b675231 (patch) | |
tree | eb66f83c55f1de2cb43d83d6f146f58b01bffded | |
parent | a7d080fe9004d740ee57ceebce37791ea46ca501 (diff) | |
download | freebsd-ports-gnome-feb513758239820148d0c08bdc9054f01b675231.tar.gz freebsd-ports-gnome-feb513758239820148d0c08bdc9054f01b675231.tar.zst freebsd-ports-gnome-feb513758239820148d0c08bdc9054f01b675231.zip |
- Add LICENSE
- Switch to options helpers
- Remove useless pkg-message
- Remove object files to make sure everythin's rebuit
-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 -************************************************************ |