Tweak textproc/spellutils version 0.7_3
[dports.git] / textproc / spellutils / Makefile
1 # Created by: thierry@pompo.net
2 # $FreeBSD: textproc/spellutils/Makefile 327773 2013-09-20 23:17:30Z bapt $
3
4 PORTNAME=       spellutils
5 PORTVERSION=    0.7
6 PORTREVISION=   3
7 CATEGORIES=     textproc
8 MASTER_SITES=   http://home.worldonline.dk/byrial/spellutils/
9
10 MAINTAINER=     thierry@pompo.net
11 COMMENT=        Programs used to isolate some parts or texts before spell-checking
12
13
14 GNU_CONFIGURE=  yes
15 USE_BZIP2=      yes
16 USES=           gettext
17 CONFIGURE_ENV=          LIBS='-L${LOCALBASE}/lib'
18 CPPFLAGS+=      -I${LOCALBASE}/include
19 LDFLAGS+=       -lintl
20
21 MAN1=           pospell.1 newsbody.1
22
23 DOCS=           NEWS README
24 EXAMPLES=       aspell.sl
25
26 NO_STAGE=       yes
27 post-install:
28 .if !defined(NOPORTDOCS)
29         @${MKDIR} ${DOCSDIR}
30         @${MKDIR} ${EXAMPLESDIR}
31 .for FILE in ${DOCS}
32         @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
33 .endfor
34         @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
35 .for FILE in ${EXAMPLES}
36         @${INSTALL_DATA} ${FILESDIR}/${FILE} ${EXAMPLESDIR}
37 .endfor
38         @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}."
39 .endif
40         @${ECHO_MSG}
41         @${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
42         @${ECHO_MSG}
43
44 .include <bsd.port.mk>