summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/libbegemot/Makefile10
-rw-r--r--devel/libbegemot/pkg-plist1
2 files changed, 7 insertions, 4 deletions
diff --git a/devel/libbegemot/Makefile b/devel/libbegemot/Makefile
index 96ac1ef9305f..6460a37e6c7c 100644
--- a/devel/libbegemot/Makefile
+++ b/devel/libbegemot/Makefile
@@ -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}
diff --git a/devel/libbegemot/pkg-plist b/devel/libbegemot/pkg-plist
index 31d9ecf00a1f..95712bfa195b 100644
--- a/devel/libbegemot/pkg-plist
+++ b/devel/libbegemot/pkg-plist
@@ -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