Lines 1-31
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= vimb |
3 |
PORTNAME= vimb |
4 |
PORTVERSION= 2.8 |
4 |
PORTVERSION= 2.9 |
5 |
CATEGORIES= www |
5 |
CATEGORIES= www |
|
|
6 |
PKGNAMESUFFIX= -gtk2 |
6 |
|
7 |
|
7 |
MAINTAINER= mike.d.ft402@gmail.com |
8 |
MAINTAINER= mike.d.ft402@gmail.com |
8 |
COMMENT= The vim like browser |
9 |
COMMENT= Vim like browser |
9 |
|
10 |
|
10 |
LICENSE= GPLv3 |
11 |
LICENSE= GPLv3 |
11 |
|
12 |
|
|
|
13 |
LIB_DEPENDS= libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2 |
14 |
|
12 |
USE_GITHUB= yes |
15 |
USE_GITHUB= yes |
13 |
GH_ACCOUNT= fanglingsu |
16 |
GH_ACCOUNT= fanglingsu |
14 |
GH_COMMIT= c642901 |
17 |
GH_COMMIT= cd61814 |
15 |
PLIST_FILES= bin/vimb man/man1/vimb.1.gz |
18 |
PLIST_FILES= bin/vimb man/man1/vimb.1.gz |
16 |
|
19 |
|
|
|
20 |
MAKE_ENV= GTK="2" |
17 |
USES= gmake pkgconfig |
21 |
USES= gmake pkgconfig |
|
|
22 |
USE_GNOME= gtk20 |
18 |
|
23 |
|
19 |
OPTIONS_SINGLE= GTK |
24 |
post-extract: |
20 |
OPTIONS_SINGLE_GTK= GTK2 GTK3 |
25 |
${MV} ${WRKSRC}/src/config.def.h ${WRKSRC}/src/config.h |
21 |
OPTIONS_DEFAULT= GTK3 |
|
|
22 |
|
26 |
|
23 |
GTK2_LIB_DEPENDS= libwebkitgtk-1.0.so:${PORTSDIR}/www/webkit-gtk2 |
|
|
24 |
GTK2_USE= GNOME=gtk20 |
25 |
GTK3_LIB_DEPENDS= libwebkitgtk-3.0.so:${PORTSDIR}/www/webkit-gtk3 |
26 |
GTK3_USE= GNOME=gtk30 |
27 |
GTK3_MAKE_ENV= GTK="3" |
28 |
|
29 |
do-install: |
27 |
do-install: |
30 |
${INSTALL_MAN} ${WRKSRC}/doc/vimb.1 ${STAGEDIR}${MANPREFIX}/man/man1/ |
28 |
${INSTALL_MAN} ${WRKSRC}/doc/vimb.1 ${STAGEDIR}${MANPREFIX}/man/man1/ |
31 |
${INSTALL_PROGRAM} ${WRKSRC}/vimb ${STAGEDIR}${PREFIX}/bin |
29 |
${INSTALL_PROGRAM} ${WRKSRC}/vimb ${STAGEDIR}${PREFIX}/bin |