diff options
author | miwi <miwi@FreeBSD.org> | 2008-05-28 06:12:09 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-05-28 06:12:09 +0800 |
commit | c486a60f04933c8227640b8faca0f931afbe32ef (patch) | |
tree | 827b6cdb889eaa1ccc00ca4598ae40dee1a42a50 /textproc | |
parent | 888eabb1977d6504355090d942963975c8d755ed (diff) | |
download | freebsd-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 'textproc')
-rw-r--r-- | textproc/ctpp/Makefile | 6 | ||||
-rw-r--r-- | textproc/ctpp2/Makefile | 6 | ||||
-rw-r--r-- | textproc/lemmatizer2/Makefile | 6 |
3 files changed, 4 insertions, 14 deletions
diff --git a/textproc/ctpp/Makefile b/textproc/ctpp/Makefile index f8a9bec46ec0..90a618801e95 100644 --- a/textproc/ctpp/Makefile +++ b/textproc/ctpp/Makefile @@ -15,13 +15,9 @@ MASTER_SITE_SUBDIR= miwi MAINTAINER= ports@FreeBSD.org COMMENT= C++ library to use templates in C/C++ projects -BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake - +USE_CMAKE= yes USE_LDCONFIG= yes -do-configure: - @cd ${WRKSRC} && ${LOCALBASE}/bin/cmake ${WRKSRC} - do-install: ${INSTALL_DATA} ${WRKSRC}/libctpp-st.a ${PREFIX}/lib/libctpp.a ${INSTALL_DATA} ${WRKSRC}/libctpp.so.${PORTVERSION} ${PREFIX}/lib/libctpp.so diff --git a/textproc/ctpp2/Makefile b/textproc/ctpp2/Makefile index 554957c2e6ee..3e171cd22144 100644 --- a/textproc/ctpp2/Makefile +++ b/textproc/ctpp2/Makefile @@ -13,11 +13,7 @@ MASTER_SITES= http://ctpp.havoc.ru/download/ MAINTAINER= reki@reki.ru COMMENT= C++ library to use templates in C/C++ projects, version 2 -BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake - +USE_CMAKE= yes USE_LDCONFIG= yes -do-configure: - @cd ${WRKSRC} && ${LOCALBASE}/bin/cmake ${WRKSRC} - .include <bsd.port.mk> diff --git a/textproc/lemmatizer2/Makefile b/textproc/lemmatizer2/Makefile index 930da8175981..797ce87587d6 100644 --- a/textproc/lemmatizer2/Makefile +++ b/textproc/lemmatizer2/Makefile @@ -18,9 +18,10 @@ DISTFILES= lemmatizer2-2.0.1.tar.gz \ MAINTAINER= reki@reki.ru COMMENT= Russian / German / English lemmatizer library -BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre +USE_CMAKE= yes + DB_DIR?= /var/db/lemmatizer DIST_SUBDIR= ${PORTNAME} @@ -35,9 +36,6 @@ pre-fetch: @${ECHO} " (default is /var/db/lemmatizer)" @${ECHO} "" -do-configure: - @cd ${WRKSRC} && ${LOCALBASE}/bin/cmake ${WRKSRC} - post-extract: @cd ${WRKDIR} && ${CP} -r Dicts ${WRKSRC} |