Line 0
Link Here
|
|
|
1 |
# $FreeBSD: head/www/vimb/Makefile 367888 2014-09-10 20:50:31Z gerald $ |
2 |
|
3 |
PORTVERSION= 2.10 |
4 |
CATEGORIES= www |
5 |
|
6 |
MAINTAINER= mike.d.ft402@gmail.com |
7 |
COMMENT= Vim like browser |
8 |
|
9 |
LICENSE= GPLv3 |
10 |
|
11 |
.ifdef(VIMB_GTK2) |
12 |
LIB_DEPENDS= libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2 |
13 |
.endif |
14 |
.ifdef(VIMB_GTK3) |
15 |
LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 |
16 |
.endif |
17 |
|
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= fanglingsu |
20 |
GH_PROJECT= vimb |
21 |
PLIST_FILES= bin/vimb man/man1/vimb.1.gz |
22 |
|
23 |
.ifdef(VIMB_GTK2) |
24 |
MAKE_ENV= GTK="2" |
25 |
USE_GNOME= gtk20 |
26 |
.endif |
27 |
.ifdef(VIMB_GTK3) |
28 |
MAKE_ENV= GTK="3" |
29 |
USE_GNOME= gtk30 |
30 |
.endif |
31 |
USES= gmake pkgconfig |
32 |
|
33 |
.ifdef(VIMB_GTK2) |
34 |
CONFLICTS= vimb-gtk3-* |
35 |
.endif |
36 |
.ifdef(VIMB_GTK3) |
37 |
CONFLICTS= vimb-gtk2-* |
38 |
.endif |
39 |
|
40 |
post-extract: |
41 |
${MV} ${WRKSRC}/src/config.def.h ${WRKSRC}/src/config.h |
42 |
|
43 |
do-install: |
44 |
${INSTALL_MAN} ${WRKSRC}/doc/vimb.1 ${STAGEDIR}${MANPREFIX}/man/man1/ |
45 |
${INSTALL_PROGRAM} ${WRKSRC}/src/vimb ${STAGEDIR}${PREFIX}/bin |