From 6daa2ea72001e2a6eb206ce68a951d57b91d7486 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 1 Jul 2014 01:17:09 +0000 Subject: [PATCH] - Clarify LICENSE - Add LICENSE_FILE - Switch to USES=libtool, drop .la files - Strip libraries --- dns/hesiod/Makefile | 11 +++++++---- dns/hesiod/pkg-plist | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dns/hesiod/Makefile b/dns/hesiod/Makefile index 054250884073..068991851e42 100644 --- a/dns/hesiod/Makefile +++ b/dns/hesiod/Makefile @@ -3,20 +3,23 @@ PORTNAME= hesiod PORTVERSION= 3.2.1 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/ MAINTAINER= ports@FreeBSD.org COMMENT= Directory service built on DNS and BIND -LICENSE= BSD +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING OPTIONS_DEFINE= IDN OPTIONS_DEFAULT=IDN -USES= pathfix -USE_AUTOTOOLS= libtool +USES= libtool pathfix +GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-silent-rules +INSTALL_TARGET= install-strip USE_LDCONFIG= yes CPPFLAGS+= -I${LOCALBASE}/include @@ -25,7 +28,7 @@ LDFLAGS+= -L${LOCALBASE}/lib .include .if ${PORT_OPTIONS:MIDN} -LIB_DEPENDS+= idn:${PORTSDIR}/dns/libidn +LIB_DEPENDS+= libidn.so:${PORTSDIR}/dns/libidn .else CONFIGURE_ARGS+=--without-libidn .endif diff --git a/dns/hesiod/pkg-plist b/dns/hesiod/pkg-plist index 061470bcf311..25d2761cf9fc 100644 --- a/dns/hesiod/pkg-plist +++ b/dns/hesiod/pkg-plist @@ -1,9 +1,9 @@ bin/hesinfo include/hesiod.h lib/libhesiod.a -lib/libhesiod.la lib/libhesiod.so lib/libhesiod.so.0 +lib/libhesiod.so.0.0.0 libdata/pkgconfig/hesiod.pc man/man1/hesinfo.1.gz man/man3/hesiod.3.gz