Tweak textproc/spellutils version 0.7_3
[dports.git] / textproc / spellutils / Makefile
1 # Created by: thierry@pompo.net
2 # $FreeBSD$
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@FreeBSD.org
11 COMMENT=        Programs used to isolate some parts or texts before spell-checking
12
13 LICENSE=        GPLv2
14
15 GNU_CONFIGURE=  yes
16 USES=           gettext tar:bzip2
17 CPPFLAGS+=      -I${LOCALBASE}/include
18 LIBS+=          -L${LOCALBASE}/lib -lintl
19
20 DOCS=           NEWS README
21 EXAMPLES=       aspell.sl
22
23 post-install:
24 .if !defined(NOPORTDOCS)
25         ${MKDIR} ${STAGEDIR}${DOCSDIR}
26         ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
27 .for FILE in ${DOCS}
28         ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
29 .endfor
30 .endif
31 .if !defined(NOPORTEXAMPLES)
32 .for FILE in ${EXAMPLES}
33         ${INSTALL_DATA} ${FILESDIR}/${FILE} ${STAGEDIR}${EXAMPLESDIR}
34 .endfor
35 .endif
36
37 .include <bsd.port.mk>