Lines 1-20
Link Here
|
1 |
# New ports collection makefile for: xxxterm |
1 |
# New ports collection makefile for: xombrero |
2 |
# Date created: 2011.01.15 |
2 |
# Date created: 2011.01.15 |
3 |
# Whom: Aldis Berjoza <aldis@bsdroot.lv> |
3 |
# Whom: Aldis Berjoza <aldis@bsdroot.lv> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/www/xxxterm/Makefile,v 1.13 2012/06/01 05:25:05 dinoex Exp $ |
5 |
# $FreeBSD: ports/www/xombrero/Makefile,v 1.2.0 2012/07/12 14:58:00 dinoex Exp $ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= xxxterm |
8 |
PORTNAME= xombrero |
9 |
PORTVERSION= 1.10.0 |
9 |
PORTVERSION= 1.2.0 |
10 |
PORTREVISION= 1 |
10 |
PORTEPOCH= 2 |
11 |
PORTEPOCH= 1 |
|
|
12 |
CATEGORIES= www |
11 |
CATEGORIES= www |
13 |
MASTER_SITES= https://opensource.conformal.com/snapshots/xxxterm/ \ |
12 |
MASTER_SITES= https://opensource.conformal.com/snapshots/xombrero/ \ |
14 |
SF/xxxterm/ |
13 |
SF/xxxterm/ |
15 |
EXTRACT_SUFX= .tgz |
14 |
EXTRACT_SUFX= .tgz |
16 |
|
15 |
|
17 |
MAINTAINER= graudeejs@gmail.com |
16 |
MAINTAINER= itechbear@gmail.com |
18 |
COMMENT= Minimalists vi-like web browser based on webkit and GTK+ |
17 |
COMMENT= Minimalists vi-like web browser based on webkit and GTK+ |
19 |
|
18 |
|
20 |
LIB_DEPENDS= gnutls.47:${PORTSDIR}/security/gnutls \ |
19 |
LIB_DEPENDS= gnutls.47:${PORTSDIR}/security/gnutls \ |
Lines 24-33
Link Here
|
24 |
USE_GNOME= gtk20 pkgconfig |
23 |
USE_GNOME= gtk20 pkgconfig |
25 |
USE_PERL5_BUILD=YES |
24 |
USE_PERL5_BUILD=YES |
26 |
|
25 |
|
27 |
PLIST_FILES= bin/xxxterm |
26 |
MAN1= xombrero.1 |
28 |
MAN1= xxxterm.1 |
27 |
PORTEXAMPLES= favorites xombrero.conf |
29 |
PORTEXAMPLES= favorites xxxterm.conf |
|
|
30 |
PLIST_DIRS+= share/xxxterm |
31 |
|
28 |
|
32 |
.include <bsd.port.pre.mk> |
29 |
.include <bsd.port.pre.mk> |
33 |
|
30 |
|
Lines 36-61
Link Here
|
36 |
.endif |
33 |
.endif |
37 |
|
34 |
|
38 |
ICONS= 16 32 48 64 128 |
35 |
ICONS= 16 32 48 64 128 |
39 |
.for i in ${ICONS} |
36 |
|
40 |
PLIST_FILES+= share/xxxterm/xxxtermicon${i}.png |
37 |
post-patch: |
41 |
.endfor |
38 |
@${REINPLACE_CMD} -e 's|CFLAGS\+=|CFLAGS\+= -I \.\.\/|g' ${WRKSRC}/freebsd/Makefile |
42 |
PLIST_FILES+= share/xxxterm/style.css |
39 |
@${REINPLACE_CMD} -e 's|LOGIN_NAME_MAX|sysconf(_SC_LOGIN_NAME_MAX)|g' ${WRKSRC}/xombrero.c |
|
|
40 |
@${REINPLACE_CMD} -e 's|#define XT_DS_CA_SSL_FILE ("")|#define XT_DS_CA_SSL_FILE ("\/usr\/local\/share\/certs\/ca-root-nss.crt")|g' ${WRKSRC}/xombrero.h |
43 |
|
41 |
|
44 |
do-build: |
42 |
do-build: |
45 |
(cd ${WRKSRC}/freebsd && make) |
43 |
cd ${WRKSRC}/freebsd && make GTK_VERSION="gtk2" |
46 |
|
44 |
|
47 |
do-install: |
45 |
do-install: |
48 |
${INSTALL_SCRIPT} ${WRKSRC}/freebsd/xxxterm ${PREFIX}/bin/ |
46 |
${INSTALL_SCRIPT} ${WRKSRC}/freebsd/xombrero ${PREFIX}/bin/ |
49 |
${INSTALL_MAN} ${WRKSRC}/xxxterm.1 ${PREFIX}/man/man1/ |
47 |
${INSTALL_MAN} ${WRKSRC}/xombrero.1 ${PREFIX}/man/man1/ |
50 |
${MKDIR} ${PREFIX}/share/${PORTNAME} |
48 |
${MKDIR} ${PREFIX}/share/${PORTNAME} |
51 |
.for i in ${ICONS} |
49 |
.for i in ${ICONS} |
52 |
${INSTALL_DATA} ${WRKSRC}/xxxtermicon${i}.png ${PREFIX}/share/xxxterm/ |
50 |
${INSTALL_DATA} ${WRKSRC}/xombreroicon${i}.png ${PREFIX}/share/${PORTNAME}/ |
53 |
.endfor |
51 |
.endfor |
54 |
${INSTALL_DATA} ${WRKSRC}/style.css ${PREFIX}/share/xxxterm/ |
52 |
${INSTALL_DATA} ${WRKSRC}/style.css ${PREFIX}/share/${PORTNAME}/ |
|
|
53 |
${INSTALL_DATA} ${WRKSRC}/tld-rules ${PREFIX}/share/${PORTNAME}/ |
54 |
${INSTALL_DATA} ${WRKSRC}/playflash.sh ${PREFIX}/share/${PORTNAME}/ |
55 |
${INSTALL_DATA} ${WRKSRC}/xombrero.desktop ${PREFIX}/share/applications/ |
56 |
|
55 |
.if !defined(NOPORTEXAMPLES) |
57 |
.if !defined(NOPORTEXAMPLES) |
56 |
${MKDIR} ${EXAMPLESDIR} |
58 |
${MKDIR} ${EXAMPLESDIR} |
57 |
${INSTALL_DATA} ${WRKSRC}/favorites ${EXAMPLESDIR}/ |
59 |
${INSTALL_DATA} ${WRKSRC}/favorites ${EXAMPLESDIR}/ |
58 |
${INSTALL_DATA} ${WRKSRC}/xxxterm.conf ${EXAMPLESDIR}/ |
60 |
${INSTALL_DATA} ${WRKSRC}/xombrero.conf ${EXAMPLESDIR}/ |
59 |
.endif |
61 |
.endif |
60 |
|
62 |
|
61 |
.include <bsd.port.post.mk> |
63 |
.include <bsd.port.post.mk> |