aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-11-27 01:28:22 +0800
committerwg <wg@FreeBSD.org>2013-11-27 01:28:22 +0800
commit8ff379a6eb037e8b93c54befa32a7672325cbed1 (patch)
tree36aaff3052cdee9d0b32f3224d78f2d3fd497410 /x11
parentaae0a63af3fc7e738060d5776a2a48232b6bdc9f (diff)
downloadfreebsd-ports-gnome-8ff379a6eb037e8b93c54befa32a7672325cbed1.tar.gz
freebsd-ports-gnome-8ff379a6eb037e8b93c54befa32a7672325cbed1.tar.zst
freebsd-ports-gnome-8ff379a6eb037e8b93c54befa32a7672325cbed1.zip
x11/roxterm: fix build on current
- Fix build on current (respect CC) - Allow staging PR: ports/184223 Submitted by: KATO Tsuguru <tkato432 yahoo.com>
Diffstat (limited to 'x11')
-rw-r--r--x11/roxterm/Makefile57
-rw-r--r--x11/roxterm/pkg-plist2
2 files changed, 27 insertions, 32 deletions
diff --git a/x11/roxterm/Makefile b/x11/roxterm/Makefile
index 454019ef9fe9..4c0d12a7408a 100644
--- a/x11/roxterm/Makefile
+++ b/x11/roxterm/Makefile
@@ -14,7 +14,7 @@ LICENSE= GPLv3
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lockfile>0:${PORTSDIR}/devel/py-lockfile \
docbook-xsl>0:${PORTSDIR}/textproc/docbook-xsl \
xsltproc:${PORTSDIR}/textproc/libxslt
-LIB_DEPENDS= dbus-glib-1:${PORTSDIR}/devel/dbus-glib
+LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
OPTIONS_DEFINE= DOCS
@@ -26,12 +26,8 @@ USE_PYTHON_BUILD= yes
USE_AUTOTOOLS= libtool:env
INSTALLS_ICONS= yes
-MAN1= roxterm.1 \
- roxterm-config.1
+MAITCHFLAGS= CC=${CC};GCC=${CC};CPP=${CC};CFLAGS=${CFLAGS};PARALLEL=${MAKE_JOBS_NUMBER}
-MAITCHFLAGS= CC=${CC};CPP=${CC};CFLAGS=${CFLAGS};PARALLEL=${MAKE_JOBS_NUMBER}
-
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@@ -43,42 +39,39 @@ post-patch:
do-configure:
@(cd ${WRKSRC} && ${SETENV} MAITCHFLAGS="${MAITCHFLAGS}" \
${PYTHON_CMD} mscript.py configure --prefix=${PREFIX} \
- --disable-gtk3 --disable-gettext --disable-po4a --disable-git)
+ --disable-gtk3 --disable-po4a --disable-git)
do-build:
@(cd ${WRKSRC} && ${PYTHON_CMD} mscript.py build)
- @${MKDIR} ${WRKSRC}/build/po
-.for i in es fr pt_BR ru uk
- @(cd ${WRKSRC}/po && ${LOCALBASE}/bin/msgfmt \
- -o ${WRKSRC}/build/po/${i}.mo ${i}.po)
-.endfor
do-install:
- (cd ${WRKSRC}/build && ${INSTALL_PROGRAM} roxterm ${PREFIX}/bin)
- (cd ${WRKSRC}/build && ${INSTALL_SCRIPT} roxterm-config ${PREFIX}/bin)
- (cd ${WRKSRC}/build && ${INSTALL_MAN} *.1 ${MANPREFIX}/man/man1)
- @${MKDIR} ${DESKTOPDIR}
- (cd ${WRKSRC} && ${INSTALL_DATA} roxterm.desktop ${DESKTOPDIR})
- @${MKDIR} ${PREFIX}/share/icons/hicolor/scalable/apps
+ (cd ${WRKSRC}/build && ${INSTALL_PROGRAM} roxterm \
+ ${STAGEDIR}${PREFIX}/bin)
+ (cd ${WRKSRC}/build && ${INSTALL_SCRIPT} roxterm-config \
+ ${STAGEDIR}${PREFIX}/bin)
+ (cd ${WRKSRC}/build && ${INSTALL_MAN} *.1 \
+ ${STAGEDIR}${MANPREFIX}/man/man1)
+ (cd ${WRKSRC} && ${INSTALL_DATA} roxterm.desktop \
+ ${STAGEDIR}${DESKTOPDIR})
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
(cd ${WRKSRC} && ${INSTALL_DATA} roxterm.svg \
- ${PREFIX}/share/icons/hicolor/scalable/apps)
- @${MKDIR} ${DATADIR}
- (cd ${WRKSRC}/src && ${INSTALL_DATA} roxterm-config.ui ${DATADIR})
- @(cd ${WRKSRC} && ${COPYTREE_SHARE} Config ${DATADIR})
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps)
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ (cd ${WRKSRC}/src && ${INSTALL_DATA} roxterm-config.ui \
+ ${STAGEDIR}${DATADIR})
+ @(cd ${WRKSRC} && ${COPYTREE_SHARE} Config ${STAGEDIR}${DATADIR})
.for i in es fr pt_BR ru uk
- @${MKDIR} ${PREFIX}/share/locale/${i}/LC_MESSAGES
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES
(cd ${WRKSRC}/build/po && ${INSTALL_DATA} ${i}.mo \
- ${PREFIX}/share/locale/${i}/LC_MESSAGES/roxterm.mo)
+ ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES/roxterm.mo)
.endfor
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS ChangeLog README
- @(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
+ @(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
.endfor
- @${MKDIR} ${DOCSDIR}/en
- @(cd ${WRKSRC}/Help/en && ${INSTALL_DATA} * ${DOCSDIR}/en)
- @${MKDIR} ${DOCSDIR}/lib
- @(cd ${WRKSRC}/Help/lib && ${INSTALL_DATA} * ${DOCSDIR}/lib)
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/en
+ @(cd ${WRKSRC}/Help/en && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/en)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/lib
+ @(cd ${WRKSRC}/Help/lib && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}/lib)
.include <bsd.port.mk>
diff --git a/x11/roxterm/pkg-plist b/x11/roxterm/pkg-plist
index d50cfd7c056e..743ebe54c8ec 100644
--- a/x11/roxterm/pkg-plist
+++ b/x11/roxterm/pkg-plist
@@ -1,5 +1,7 @@
bin/roxterm
bin/roxterm-config
+man/man1/roxterm.1.gz
+man/man1/roxterm-config.1.gz
share/applications/roxterm.desktop
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog