aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/fontmatrix
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-05-28 06:12:09 +0800
committermiwi <miwi@FreeBSD.org>2008-05-28 06:12:09 +0800
commitc486a60f04933c8227640b8faca0f931afbe32ef (patch)
tree827b6cdb889eaa1ccc00ca4598ae40dee1a42a50 /x11-fonts/fontmatrix
parent888eabb1977d6504355090d942963975c8d755ed (diff)
downloadfreebsd-ports-gnome-c486a60f04933c8227640b8faca0f931afbe32ef.tar.gz
freebsd-ports-gnome-c486a60f04933c8227640b8faca0f931afbe32ef.tar.zst
freebsd-ports-gnome-c486a60f04933c8227640b8faca0f931afbe32ef.zip
- Add common code to support for cmake based ports.
- Update devel/cmake to 2.6.0 (also fix ports/123092) - Use the new CMAKE build framework in all ports using cmake Approved by: portmgr (pav)
Diffstat (limited to 'x11-fonts/fontmatrix')
-rw-r--r--x11-fonts/fontmatrix/Makefile14
1 files changed, 2 insertions, 12 deletions
diff --git a/x11-fonts/fontmatrix/Makefile b/x11-fonts/fontmatrix/Makefile
index 343b403f8197..a80428ec15f2 100644
--- a/x11-fonts/fontmatrix/Makefile
+++ b/x11-fonts/fontmatrix/Makefile
@@ -14,21 +14,14 @@ MASTER_SITES= http://www.fontmatrix.net/archives/
MAINTAINER= makc@issp.ac.ru
COMMENT= A graphical font manager
-BUILD_DEPENDS= ${CMAKE}:${PORTSDIR}/devel/cmake
RUN_DEPENDS= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_QT_VER= 4
QT_COMPONENTS= gui svg network moc_build uic_build rcc_build qmake_build linguist_build
INSTALLS_ICONS= yes
-MAKE_ENV+= VERBOSE=1
-CMAKE?= ${LOCALBASE}/bin/cmake
-CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} \
- -DCMAKE_C_COMPILER:STRING="${CC}" \
- -DCMAKE_CXX_COMPILER:STRING="${CXX}" \
- -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
- -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
- -DCMAKE_EXE_LINKER_FLAGS=${PTHREAD_LIBS}
+USE_CMAKE= yes
+CMAKE_USE_PTHREAD= yes
OPTIONS= FONTFORGE "With FontForge editor" off
@@ -49,7 +42,4 @@ pre-configure:
${LOCALBASE}/bin/lupdate-qt4 -noobsolete ../ -ts *.ts && \
${LOCALBASE}/bin/lrelease-qt4 *.ts
-do-configure:
- cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS}
-
.include <bsd.port.post.mk>