Lines 2-13
Link Here
|
2 |
# $FreeBSD: head/x11/roxterm/Makefile 340115 2014-01-17 21:36:43Z skreuzer $ |
2 |
# $FreeBSD: head/x11/roxterm/Makefile 340115 2014-01-17 21:36:43Z skreuzer $ |
3 |
|
3 |
|
4 |
PORTNAME= roxterm |
4 |
PORTNAME= roxterm |
5 |
PORTVERSION= 2.8.1 |
5 |
PORTVERSION= 2.8.3 |
6 |
CATEGORIES= x11 |
6 |
CATEGORIES= x11 |
7 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
8 |
|
8 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
9 |
MAINTAINER= ports@FreeBSD.org |
10 |
COMMENT= GTK+ 2.0 terminal emulator with tabs |
10 |
COMMENT= GTK+ terminal emulator with tabs |
11 |
|
11 |
|
12 |
LICENSE= GPLv3 |
12 |
LICENSE= GPLv3 |
13 |
|
13 |
|
Lines 17-35
Link Here
|
17 |
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib |
17 |
LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib |
18 |
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils |
18 |
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils |
19 |
|
19 |
|
20 |
OPTIONS_DEFINE= DOCS |
|
|
21 |
|
22 |
USE_BZIP2= yes |
20 |
USE_BZIP2= yes |
23 |
USES= gettext pkgconfig |
21 |
USES= gettext pkgconfig |
24 |
USE_GNOME= libglade2 librsvg2 vte |
22 |
USE_GNOME= librsvg2 |
25 |
USE_PYTHON_BUILD= yes |
23 |
USE_PYTHON_BUILD= yes |
26 |
USE_AUTOTOOLS= libtool:env |
24 |
USE_AUTOTOOLS= libtool:env |
27 |
INSTALLS_ICONS= yes |
25 |
INSTALLS_ICONS= yes |
28 |
|
26 |
|
29 |
MAITCHFLAGS= CC=${CC};GCC=${CC};CPP=${CC};CFLAGS=${CFLAGS};PARALLEL=${MAKE_JOBS_NUMBER} |
27 |
OPTIONS_DEFINE= DOCS GTK3 |
|
|
28 |
|
29 |
MAITCHFLAGS= DISABLE_GTK3=${DISABLE_GTK3};DISABLE_GIT=True;DISABLE_PO4A=True; |
30 |
MAITCHFLAGS+= CC=${CC};GCC=${CC};CPP=${CC};CFLAGS=${CFLAGS}; |
31 |
MAITCHFLAGS+= PARALLEL=${MAKE_JOBS_NUMBER};PREFIX=${PREFIX}; |
30 |
|
32 |
|
31 |
.include <bsd.port.options.mk> |
33 |
.include <bsd.port.options.mk> |
32 |
|
34 |
|
|
|
35 |
.if ${PORT_OPTIONS:MGTK3} |
36 |
USE_GNOME+= vte3 |
37 |
.else |
38 |
USE_GNOME+= vte |
39 |
DISABLE_GTK3= True |
40 |
.endif |
41 |
|
33 |
post-patch: |
42 |
post-patch: |
34 |
@${REINPLACE_CMD} -e \ |
43 |
@${REINPLACE_CMD} -e \ |
35 |
's|/usr/local|${LOCALBASE}|' ${WRKSRC}/maitch.py |
44 |
's|/usr/local|${LOCALBASE}|' ${WRKSRC}/maitch.py |
Lines 38-54
Link Here
|
38 |
|
47 |
|
39 |
do-configure: |
48 |
do-configure: |
40 |
@(cd ${WRKSRC} && ${SETENV} MAITCHFLAGS="${MAITCHFLAGS}" \ |
49 |
@(cd ${WRKSRC} && ${SETENV} MAITCHFLAGS="${MAITCHFLAGS}" \ |
41 |
${PYTHON_CMD} mscript.py configure --prefix=${PREFIX} \ |
50 |
${PYTHON_CMD} mscript.py configure) |
42 |
--disable-gtk3 --disable-po4a --disable-git) |
|
|
43 |
|
51 |
|
44 |
do-build: |
52 |
do-build: |
45 |
@(cd ${WRKSRC} && ${PYTHON_CMD} mscript.py build) |
53 |
@(cd ${WRKSRC} && ${PYTHON_CMD} mscript.py build) |
46 |
|
54 |
|
47 |
do-install: |
55 |
do-install: |
48 |
(cd ${WRKSRC}/build && ${INSTALL_PROGRAM} roxterm \ |
56 |
.for i in roxterm roxterm-config |
49 |
${STAGEDIR}${PREFIX}/bin) |
57 |
(cd ${WRKSRC}/build && ${INSTALL_PROGRAM} ${i} \ |
50 |
(cd ${WRKSRC}/build && ${INSTALL_SCRIPT} roxterm-config \ |
|
|
51 |
${STAGEDIR}${PREFIX}/bin) |
58 |
${STAGEDIR}${PREFIX}/bin) |
|
|
59 |
.endfor |
52 |
(cd ${WRKSRC}/build && ${INSTALL_MAN} *.1 \ |
60 |
(cd ${WRKSRC}/build && ${INSTALL_MAN} *.1 \ |
53 |
${STAGEDIR}${MANPREFIX}/man/man1) |
61 |
${STAGEDIR}${MANPREFIX}/man/man1) |
54 |
(cd ${WRKSRC} && ${INSTALL_DATA} roxterm.desktop \ |
62 |
(cd ${WRKSRC} && ${INSTALL_DATA} roxterm.desktop \ |