Lines 1-13
Link Here
|
1 |
# New ports collection makefile for: roxterm |
1 |
# Created by: Yinghong Liu <relaxbsd@gmail.com> |
2 |
# Date created: 19 Jun 2007 |
|
|
3 |
# Whom: Yinghong Liu <relaxbsd@gmail.com> |
4 |
# |
5 |
# $FreeBSD: head/x11/roxterm/Makefile 301622 2012-07-27 16:20:41Z bapt $ |
2 |
# $FreeBSD: head/x11/roxterm/Makefile 301622 2012-07-27 16:20:41Z bapt $ |
6 |
# |
|
|
7 |
|
3 |
|
8 |
PORTNAME= roxterm |
4 |
PORTNAME= roxterm |
9 |
PORTVERSION= 2.2.2 |
5 |
PORTVERSION= 2.6.5 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= x11 |
6 |
CATEGORIES= x11 |
12 |
MASTER_SITES= SF |
7 |
MASTER_SITES= SF |
13 |
|
8 |
|
Lines 16-60
Link Here
|
16 |
|
11 |
|
17 |
LICENSE= GPLv3 |
12 |
LICENSE= GPLv3 |
18 |
|
13 |
|
19 |
BUILD_DEPENDS= ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl \ |
14 |
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lockfile>0:${PORTSDIR}/devel/py-lockfile \ |
|
|
15 |
docbook-xsl>0:${PORTSDIR}/textproc/docbook-xsl \ |
20 |
xsltproc:${PORTSDIR}/textproc/libxslt |
16 |
xsltproc:${PORTSDIR}/textproc/libxslt |
21 |
LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib |
17 |
LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib |
22 |
|
18 |
|
23 |
USE_XORG= sm ice |
19 |
OPTIONS_DEFINE= DOCS |
|
|
20 |
|
21 |
USE_BZIP2= yes |
24 |
USE_GNOME= libglade2 vte |
22 |
USE_GNOME= libglade2 vte |
|
|
23 |
USE_PYTHON_BUILD= yes |
25 |
USE_GETTEXT= yes |
24 |
USE_GETTEXT= yes |
26 |
USE_GMAKE= yes |
25 |
USE_PKGCONFIG= build |
27 |
USE_PKGCONFIG= yes |
26 |
USE_AUTOTOOLS= libtool:env |
28 |
GNU_CONFIGURE= yes |
|
|
29 |
CONFIGURE_ENV= ac_cv_prog_HAVE_XMLTO=no ac_cv_prog_HAVE_PO4A=no |
30 |
INSTALLS_ICONS= yes |
27 |
INSTALLS_ICONS= yes |
31 |
MAKE_JOBS_SAFE= yes |
28 |
MAKE_JOBS_SAFE= yes |
32 |
|
29 |
|
33 |
MAN1= roxterm.1 \ |
30 |
MAN1= roxterm.1 \ |
34 |
roxterm-config.1 |
31 |
roxterm-config.1 |
35 |
|
32 |
|
|
|
33 |
MAITCHFLAGS= CC=${CC};CPP=${CC};CFLAGS=${CFLAGS};PARALLEL=${_make_jobs} |
34 |
|
35 |
.include <bsd.port.options.mk> |
36 |
|
37 |
.if !defined(DISABLE_MAKE_JOBS) |
38 |
_make_jobs= ${MAKE_JOBS_NUMBER} |
39 |
.endif |
40 |
|
36 |
post-patch: |
41 |
post-patch: |
37 |
.for file in Makefile.in po4a/Makefile.in |
42 |
@${REINPLACE_CMD} -e \ |
38 |
@${REINPLACE_CMD} -e '/^install-data-am:/s|install-data-local||g' \ |
43 |
's|/usr/local|${LOCALBASE}|' ${WRKSRC}/maitch.py |
39 |
${WRKSRC}/${file} |
|
|
40 |
.endfor |
41 |
.for file in src/Makefile.in |
42 |
@${REINPLACE_CMD} -e '/roxterm-config.ui/s|-i |-i.orig |g' \ |
43 |
${WRKSRC}/${file} |
44 |
.endfor |
45 |
|
44 |
|
46 |
post-install: |
45 |
do-configure: |
|
|
46 |
@(cd ${WRKSRC} && ${SETENV} MAITCHFLAGS="${MAITCHFLAGS}" \ |
47 |
${PYTHON_CMD} mscript.py configure --prefix=${PREFIX} \ |
48 |
--disable-gtk3 --disable-po4a --disable-git) |
49 |
|
50 |
do-build: |
51 |
@(cd ${WRKSRC} && ${PYTHON_CMD} mscript.py build \ |
52 |
&& ${PYTHON_CMD} mscript.py install) |
53 |
|
54 |
do-install: |
55 |
(cd ${WRKSRC}/build/usr/local/bin \ |
56 |
&& ${INSTALL_PROGRAM} * ${PREFIX}/bin) |
57 |
(cd ${WRKSRC}/build/usr/local/share/man/man1 \ |
58 |
&& ${INSTALL_MAN} * ${MANPREFIX}/man/man1) |
59 |
@${MKDIR} ${DATADIR} |
60 |
@(cd ${WRKSRC}/build/usr/local/share/roxterm \ |
61 |
&& ${COPYTREE_SHARE} . ${DATADIR}) |
62 |
@${MKDIR} ${DESKTOPDIR} |
63 |
(cd ${WRKSRC}/build/usr/local/share/applications \ |
64 |
&& ${INSTALL_DATA} * ${DESKTOPDIR}) |
47 |
@${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps |
65 |
@${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps |
48 |
${INSTALL_DATA} ${WRKSRC}/roxterm.svg \ |
66 |
(cd ${WRKSRC}/build/usr/local/share/icons/hicolor/scalable/apps \ |
49 |
${PREFIX}/share/icons/hicolor/scalable/apps |
67 |
&& ${INSTALL_DATA} * \ |
50 |
.if !defined(NOPORTDOCS) |
68 |
${PREFIX}/share/icons/hicolor/scalable/apps) |
|
|
69 |
.if ${PORT_OPTIONS:MDOCS} |
51 |
@${MKDIR} ${DOCSDIR} |
70 |
@${MKDIR} ${DOCSDIR} |
52 |
.for file in AUTHORS Changes README |
71 |
@(cd ${WRKSRC}/build/usr/local/share/doc/roxterm \ |
53 |
${INSTALL_DATA} ${WRKSRC}/Help/${file} ${DOCSDIR} |
72 |
&& ${COPYTREE_SHARE} . ${DOCSDIR}) |
54 |
.endfor |
|
|
55 |
.for dir in en lib |
56 |
@(cd ${WRKSRC}/Help && ${COPYTREE_SHARE} ${dir} ${DOCSDIR}) |
57 |
.endfor |
58 |
.endif |
73 |
.endif |
59 |
|
74 |
|
60 |
.include <bsd.port.mk> |
75 |
.include <bsd.port.mk> |