Lines 6-12
Link Here
|
6 |
|
6 |
|
7 |
PORTNAME= ksocrat |
7 |
PORTNAME= ksocrat |
8 |
PORTVERSION= 3.2.1 |
8 |
PORTVERSION= 3.2.1 |
9 |
PORTREVISION= 4 |
9 |
PORTREVISION= 5 |
10 |
CATEGORIES= russian kde |
10 |
CATEGORIES= russian kde |
11 |
MASTER_SITES= http://ksocrat.linux.kiev.ua/download/ |
11 |
MASTER_SITES= http://ksocrat.linux.kiev.ua/download/ |
12 |
|
12 |
|
Lines 19-33
Link Here
|
19 |
COMMENT= KSocrat is the simple English/Russian Russian/English dictionary |
19 |
COMMENT= KSocrat is the simple English/Russian Russian/English dictionary |
20 |
|
20 |
|
21 |
USE_BZIP2= yes |
21 |
USE_BZIP2= yes |
22 |
USE_KDELIBS_VER=3 |
|
|
23 |
USE_AUTOTOOLS= libtool:22 |
22 |
USE_AUTOTOOLS= libtool:22 |
24 |
USE_GMAKE= yes |
23 |
USE_GMAKE= yes |
|
|
24 |
MAKE_JOBS_SAFE= yes |
25 |
|
25 |
|
26 |
RESTRICTED= "Redistribution not allowed" |
26 |
RESTRICTED= "Redistribution not allowed" |
27 |
NO_CDROM= ${RESTRICTED} |
27 |
NO_CDROM= ${RESTRICTED} |
28 |
|
28 |
|
29 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" |
29 |
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" |
30 |
|
30 |
|
|
|
31 |
OPTIONS= KDE "Build with kdelibs3" off \ |
32 |
KDE4 "Build with kdelibs4" on |
33 |
|
34 |
.include <bsd.port.options.mk> |
35 |
|
36 |
.if defined(WITH_KDE) && defined defined(WITH_KDE4) |
37 |
IGNORE= kdelibs3 and kdelibs4 is mutually exclusive. Please rerun 'make config' and disable one of these |
38 |
.endif |
39 |
|
40 |
.if !defined(WITH_KDE) && !defined(WITH_KDE4) |
41 |
IGNORE= kdelibs3 or kdelibs4 must be selected |
42 |
.endif |
43 |
|
44 |
|
45 |
|
46 |
.if defined(WITH_KDE) |
47 |
USE_KDELIBS_VER=3 |
48 |
.endif |
49 |
|
50 |
.if defined(WITH_KDE4) |
51 |
USE_KDE4= kdehier kdelibs |
52 |
.endif |
53 |
|
54 |
|
31 |
post-install: |
55 |
post-install: |
32 |
${INSTALL_DATA} ${WRKDIR}/usr/share/apps/ksocrat/* \ |
56 |
${INSTALL_DATA} ${WRKDIR}/usr/share/apps/ksocrat/* \ |
33 |
${PREFIX}/share/apps/ksocrat |
57 |
${PREFIX}/share/apps/ksocrat |