From 65af08a64cd96a944c63344341d7a36c9972c172 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 25 Jul 2014 13:49:25 +0000 Subject: [PATCH] - Switch to USES=libtool, drop .la files - Strip libraries --- devel/ossp-val/Makefile | 9 ++++++--- devel/ossp-val/pkg-plist | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/devel/ossp-val/Makefile b/devel/ossp-val/Makefile index b8f3725c7178..6a0f03ab80c9 100644 --- a/devel/ossp-val/Makefile +++ b/devel/ossp-val/Makefile @@ -3,9 +3,9 @@ PORTNAME= val PORTVERSION= 0.9.4 +PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_OSSP} -MASTER_SITE_SUBDIR= lib/${PORTNAME} +MASTER_SITES= OSSP/lib/${PORTNAME} PKGNAMEPREFIX= ossp- MAINTAINER= ports@FreeBSD.org @@ -13,7 +13,7 @@ COMMENT= Flexible name to value mapping library for C variables LIB_DEPENDS= libex.so:${PORTSDIR}/devel/ossp-ex -USES= gmake +USES= gmake libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-ex=${LOCALBASE} @@ -21,4 +21,7 @@ CONFIGURE_ARGS= --with-ex=${LOCALBASE} check: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libval.so + .include diff --git a/devel/ossp-val/pkg-plist b/devel/ossp-val/pkg-plist index 96be431f48df..2ceb409dfb7f 100644 --- a/devel/ossp-val/pkg-plist +++ b/devel/ossp-val/pkg-plist @@ -1,8 +1,8 @@ bin/val-config include/val.h lib/libval.a -lib/libval.la lib/libval.so lib/libval.so.9 +lib/libval.so.9.0.24 man/man1/val-config.1.gz man/man3/val.3.gz