1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/devel/libbegemot/Makefile
Rodrigo Osorio 93ae2ba80a - Fix MASTER site
- Fix STRIPing for libs

PR:		ports/186727
Submitted by:	Ilya A. Arkhipov <rum1cro@yandex.ru> (maintainer)
Approved by:	bapt (mentor)
2014-02-24 16:40:25 +00:00

39 lines
1.1 KiB
Makefile

# Created by: Andrey V. Elsukov <bu7cher@yandex.ru>
# $FreeBSD$
PORTNAME= libbegemot
PORTVERSION= 1.11
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://people.freebsd.org/~harti/libbegemot/ \
http://m1cro.me/ports/distfiles/libbegemot/
MAINTAINER= rum1cro@yandex.ru
COMMENT= Function library for begemot tools
LICENSE= BSD2CLAUSE
GNU_CONFIGURE= yes
USES= gmake
USE_AUTOTOOLS= automake:env autoconf:env libltdl libtool
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
MAN_FILES= cstrc.1 frame.1 getfields.1 intro.1 panic.1 prstat.1 readline.1 \
rpoll.1 strnchr.1 strnlen.1 strsave.1 strtrimsp.1 verb.1 xalloc.1
run-autotools::
@(cd ${CONFIGURE_WRKSRC} && ${ACLOCAL} -I ${LIBTOOL_SHAREDIR}/libltdl/)
@(cd ${CONFIGURE_WRKSRC} && ${AUTOCONF})
@${REINPLACE_CMD} -e "/^ltmain=/!s^\$$ac_aux_dir/ltmain.sh^${LIBTOOLFLAGS} ${LTMAIN}^g" \
-e '/^LIBTOOL=/s^\$$(top_builddir)/libtool^${LIBTOOL}^g' \
${WRKSRC}/configure
post-install:
.for i in ${MAN_FILES}
@${CP} ${WRKSRC}/${i:S/.1/.man/} ${WRKSRC}/${i}
${INSTALL_MAN} ${WRKSRC}/${i} ${STAGEDIR}${MANPREFIX}/man/man1
.endfor
.include <bsd.port.mk>