Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= otrs |
8 |
PORTNAME= otrs |
9 |
PORTVERSION= 2.4.7 |
9 |
PORTVERSION= 2.4.7 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= devel |
11 |
CATEGORIES= devel |
12 |
MASTER_SITES= http://ftp.otrs.org/pub/otrs/ \ |
12 |
MASTER_SITES= http://ftp.otrs.org/pub/otrs/ \ |
13 |
ftp://ftp.samurai.com/pub/otrs/ \ |
13 |
ftp://ftp.samurai.com/pub/otrs/ \ |
Lines 41-47
Link Here
|
41 |
IMAP "Fetch email via IMAP" on \ |
41 |
IMAP "Fetch email via IMAP" on \ |
42 |
LDAP "Enable LDAP support" off \ |
42 |
LDAP "Enable LDAP support" off \ |
43 |
PDF "Enable PDF output" on \ |
43 |
PDF "Enable PDF output" on \ |
44 |
ISPELL "Enable spell checking" on \ |
44 |
ISPELL "Enable ispell checking" off \ |
|
|
45 |
ASPELL "Enable aspell checking" on \ |
45 |
GNUPG "Use GnuPG" off |
46 |
GNUPG "Use GnuPG" off |
46 |
|
47 |
|
47 |
USE_BZIP2= yes |
48 |
USE_BZIP2= yes |
Lines 113-122
Link Here
|
113 |
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
114 |
RUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell |
114 |
.endif |
115 |
.endif |
115 |
|
116 |
|
|
|
117 |
.ifdef WITH_ASPELL |
118 |
RUN_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell |
119 |
.endif |
120 |
|
116 |
.ifdef WITH_GNUPG |
121 |
.ifdef WITH_GNUPG |
117 |
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1 |
122 |
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1 |
118 |
.endif |
123 |
.endif |
119 |
|
124 |
|
|
|
125 |
.ifdef WITH_ISPELL && WITH_ASPELL |
126 |
IGNORE= you only need 1 spell checker |
127 |
.endif |
128 |
|
120 |
do-build: |
129 |
do-build: |
121 |
@${FIND} ${WRKSRC} -name "*.orig" -delete |
130 |
@${FIND} ${WRKSRC} -name "*.orig" -delete |
122 |
@${FIND} ${WRKSRC}/Kernel -type d | ${XARGS} ${CHMOD} 0755 |
131 |
@${FIND} ${WRKSRC}/Kernel -type d | ${XARGS} ${CHMOD} 0755 |
Lines 129-134
Link Here
|
129 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ |
138 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ |
130 |
-e "s=/usr/bin/ispell=${PREFIX}/bin/ispell=g" |
139 |
-e "s=/usr/bin/ispell=${PREFIX}/bin/ispell=g" |
131 |
.endif |
140 |
.endif |
|
|
141 |
.ifdef WITH_ASPELL |
142 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ |
143 |
-e "s=/usr/bin/ispell=${PREFIX}/bin/aspell=g" |
144 |
.endif |
132 |
.ifdef WITH_GNUPG |
145 |
.ifdef WITH_GNUPG |
133 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ |
146 |
@${FIND} ${WRKSRC} -type f | ${XARGS} ${SED} -i '' \ |
134 |
-e "s=/usr/bin/gpg=${PREFIX}/bin/gpg=g" |
147 |
-e "s=/usr/bin/gpg=${PREFIX}/bin/gpg=g" |