From 4e55e025b78041b7b8160ad680ec845014347f1d Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 25 Jul 2014 13:49:13 +0000 Subject: [PATCH] - Switch to USES=libtool, drop .la files - Strip libraries --- devel/ossp-var/Makefile | 9 ++++++--- devel/ossp-var/pkg-plist | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/devel/ossp-var/Makefile b/devel/ossp-var/Makefile index 453c5cdd35f5..781eac8dfb04 100644 --- a/devel/ossp-var/Makefile +++ b/devel/ossp-var/Makefile @@ -3,19 +3,22 @@ PORTNAME= var PORTVERSION= 1.1.3 +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 COMMENT= Flexible, full-featured, and fast variable expansion library -USES= gmake +USES= gmake libtool GNU_CONFIGURE= yes USE_LDCONFIG= yes check: build @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libvar.so + .include diff --git a/devel/ossp-var/pkg-plist b/devel/ossp-var/pkg-plist index 9a6c1aca77a1..eeb13120b030 100644 --- a/devel/ossp-var/pkg-plist +++ b/devel/ossp-var/pkg-plist @@ -1,8 +1,8 @@ bin/var-config include/var.h lib/libvar.a -lib/libvar.la lib/libvar.so lib/libvar.so.11 +lib/libvar.so.11.0.23 man/man1/var-config.1.gz man/man3/var.3.gz