aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libbegemot/Makefile
blob: a2e1a49df56078e73ce129d0158bae9eab59bd2f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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=   1
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:261:env libltdl:15 libtool:15:env
INSTALLS_SHLIB= 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})

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>