ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/textproc/aspell/Makefile
Revision: 22565
Committed: Tue Sep 26 03:24:47 2017 UTC (6 years, 7 months ago) by laffer1
File size: 1615 byte(s)
Log Message:
drop man

File Contents

# Content
1 # $MidnightBSD$
2
3 PORTNAME= aspell
4 PORTVERSION= 0.60.6.1
5 PORTREVISION= 1
6 CATEGORIES= textproc
7 MASTER_SITES= GNU/aspell
8
9 MAINTAINER= ports@MidnightBSD.org
10 COMMENT= Spelling checker with better suggestion logic than ispell
11
12 LICENSE= lgpl2.1
13
14 OPTIONS_DEFINE= NLS DOCS ISPELL
15
16 ISPELL_DESC= Install the ispell wrapper
17
18 GNU_CONFIGURE= yes
19 CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \
20 --enable-docdir=${DOCSDIR} \
21 --enable-curses=ncursesw \
22 --enable-static
23
24 USES= cpe gmake iconv libtool perl5 shebangfix
25 USE_LDCONFIG= yes
26 SHEBANG_FILES= scripts/aspell-import
27 CPE_VENDOR= gnu
28 USE_PERL5_BUILD= yes
29
30 MAKE_ARGS= NOPORTDOCS=${NOPORTDOCS}
31 VERINST= ${PORTVERSION:R:R}
32 SUB_FILES= aspell.ver
33 PLIST_SUB= VER=${VERINST}
34 SUB_LIST= VERINST=${VERINST}
35
36 .include <bsd.mport.options.mk>
37 .if ${PORT_OPTIONS:MNLS}
38 USE_GETTEXT= yes
39 PLIST_SUB+= NLS=""
40 .else
41 CONFIGURE_ARGS+= --disable-nls
42 PLIST_SUB+= NLS="@comment "
43 .endif
44
45 .if ${PORT_OPTIONS:MISPELL}
46 CONFLICTS+= ispell* ??-ispell*
47 SCRIPTS= ispell spell
48 PLIST_SUB+= SCRIPTS=""
49 .else
50 PLIST_SUB+= SCRIPTS="@comment "
51 .endif
52
53 .if ${PORT_OPTIONS:MDOCS}
54 INFO= aspell-dev aspell
55 .endif
56
57 # Does not link without at least -O
58 .if !defined(CFLAGS) || ${CFLAGS:M-O*} == ""
59 CFLAGS+= -O
60 .endif
61
62 post-install: ${DICT_TARGET}
63 @${INSTALL_DATA} ${WRKDIR}/aspell.ver ${PREFIX}/etc
64 .if ${PORT_OPTIONS:MISPELL}
65 @${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/scripts/|} ${PREFIX}/bin
66 .endif
67 @${ECHO_CMD} "@dirrm share/aspell" >> ${TMPPLIST}
68 @${ECHO_CMD} "@dirrm lib/aspell-${VERINST}" >> ${TMPPLIST}
69
70 .include <bsd.port.mk>

Properties

Name Value
svn:keywords MidnightBSD=%H