aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/spellutils/Makefile
blob: ec3d08b12e85ce68166c4850522714863011c88e (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
39
40
41
42
43
44
45
46
# New ports collection makefile for:    spellutils
# Date created:     Mar 30 jul 2002 22:42:49 CEST
# Whom:         thierry@pompo.net
#
# $FreeBSD$
#

PORTNAME=   spellutils
PORTVERSION=    0.7
CATEGORIES= textproc
MASTER_SITES=   http://home.worldonline.dk/byrial/spellutils/

MAINTAINER= thierry@pompo.net
COMMENT=    Programs used to isolate some parts or texts before spell-checking

LIB_DEPENDS=    intl.4:${PORTSDIR}/devel/gettext

GNU_CONFIGURE=  yes
USE_BZIP2=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include"   \
        LIBS='-L${LOCALBASE}/lib'       \
        LDFLAGS=-lintl

MAN1=       pospell.1 newsbody.1

DOCS=       NEWS README
EXAMPLES=   aspell.sl

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @${MKDIR} ${EXAMPLESDIR}
.for FILE in ${DOCS}
    @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
    @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.for FILE in ${EXAMPLES}
    @${INSTALL_DATA} ${FILESDIR}/${FILE} ${EXAMPLESDIR}
.endfor
    @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
.endif
    @${ECHO_MSG}
    @${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
    @${ECHO_MSG}

.include <bsd.port.mk>