freebsd-ports/devel/libbegemot/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: libbegemot
# Date created: Sep 15 2005
# Whom: Andrey V. Elsukov <bu7cher@yandex.ru>
#
# $FreeBSD$
#
PORTNAME= libbegemot
PORTVERSION= 1.11
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://people.freebsd.org/~harti/libbegemot/
DISTNAME= libbegemot-${PORTVERSION}
MAINTAINER= bu7cher@yandex.ru
COMMENT= A function library for begemot tools
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOTOOLS= automake:19:env autoconf:262:env libltdl:22 libtool:22
USE_LDCONFIG= yes
MAN1= 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
MLINKS= xalloc.1 xrealloc.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 ${MAN1}
@${CP} ${WRKSRC}/${i:S/.1/.man/} ${WRKSRC}/${i}
${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
.endfor
.include <bsd.port.mk>