- Switch to USES=libtool, drop .la files

- Strip libraries
- Add LICENSE_FILE

Approved by:	rum1cro@yandex.ru (maintainer)
This commit is contained in:
Dmitry Marakasov 2014-07-23 09:18:54 +00:00
parent ab35b22ab8
commit 599061c9f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362642
2 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= libbegemot
PORTVERSION= 1.11
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://people.freebsd.org/~harti/libbegemot/ \
http://m1cro.me/ports/distfiles/libbegemot/
@ -12,10 +12,11 @@ MAINTAINER= rum1cro@yandex.ru
COMMENT= Function library for begemot tools
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
GNU_CONFIGURE= yes
USES= gmake
USE_AUTOTOOLS= automake:env autoconf:env libltdl libtool
USES= gmake libtool
USE_AUTOTOOLS= automake:env autoconf:env libltdl libtoolize
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
@ -29,6 +30,9 @@ run-autotools::
-e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
${WRKSRC}/configure
pre-install:
@${STRIP_CMD} ${WRKSRC}/.libs/libbegemot.so
post-install:
.for i in ${MAN_FILES}
@${CP} ${WRKSRC}/${i:S/.1/.man/} ${WRKSRC}/${i}

View File

@ -1,7 +1,6 @@
include/begemot.h
include/rpoll.h
lib/libbegemot.a
lib/libbegemot.la
lib/libbegemot.so
lib/libbegemot.so.1
man/man1/cstrc.1.gz