diff options
author | araujo <araujo@FreeBSD.org> | 2012-12-13 15:04:08 +0800 |
---|---|---|
committer | araujo <araujo@FreeBSD.org> | 2012-12-13 15:04:08 +0800 |
commit | b26588e0d784f3cdc2fb03ad676c49729cfcadff (patch) | |
tree | b9bccc330da22050a12a7942b918c7ae134857b9 /devel | |
parent | 5482215cb1ccd5f236159ce1e8970b2044fb628f (diff) | |
download | freebsd-ports-gnome-b26588e0d784f3cdc2fb03ad676c49729cfcadff.tar.gz freebsd-ports-gnome-b26588e0d784f3cdc2fb03ad676c49729cfcadff.tar.zst freebsd-ports-gnome-b26588e0d784f3cdc2fb03ad676c49729cfcadff.zip |
- Update MASTER_SITES.
- Update WWW pkg-descr.
- Support USE_NCURSES.
- Support USE_READLINE.
- Trim header.
PR: ports/171988
Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/omake/Makefile | 48 | ||||
-rw-r--r-- | devel/omake/pkg-descr | 8 |
2 files changed, 23 insertions, 33 deletions
diff --git a/devel/omake/Makefile b/devel/omake/Makefile index 05b95930bce0..33083bdf5efa 100644 --- a/devel/omake/Makefile +++ b/devel/omake/Makefile @@ -1,17 +1,12 @@ -# New ports collection makefile for: omake -# Date created: 2006-08-06 -# Whom: Stanislav Sedov <ssedov@mbsd.msk.ru> -# -# $MBSDlabs$ +# Created by: Stanislav Sedov <ssedov@mbsd.msk.ru> # $FreeBSD$ -# PORTNAME= omake PORTVERSION= 0.9.8.5 PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= http://omake.metaprl.org/downloads/ -DISTNAME= omake-0.9.8.5-3 +MASTER_SITES= http://main.metaprl.org/download/omake/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-3 MAINTAINER= ports@FreeBSD.org COMMENT= A flexible build system @@ -19,22 +14,14 @@ COMMENT= A flexible build system WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_OCAML= yes NO_OCAML_RUNDEPENDS=yes +USE_NCURSES= yes +USE_READLINE= yes MAKE_JOBS_UNSAFE= yes -FETCH_CMD?= /usr/bin/fetch -Rr - -.if !defined(NOPORTDOCS) INFO= omake-doc -.endif .include <bsd.port.pre.mk> -.if exists(${LOCALBASE}/lib/libreadline.so.6) -LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline -CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -.endif - .if ${ARCH} == "powerpc" BROKEN= Does not build on powerpc .endif @@ -43,23 +30,26 @@ post-patch: # # Dirty hack for PREFIX safety # - @${REINPLACE_CMD} -E -e "s,(getenv[[:space:]]+)LIBDIR,\1PREFLIBDIR," \ - ${WRKSRC}/mk/defaults + @${REINPLACE_CMD} -E -e \ + 's|(getenv[[:space:]]+)LIBDIR|\1PREFLIBDIR|' ${WRKSRC}/mk/defaults # # Permissions safety # - @${REINPLACE_CMD} -E -e "s,cp -f -m 444,\$$(BSD_INSTALL_DATA)," \ - -e "s,cp -f -m 555,\$$(BSD_INSTALL_PROGRAM)," \ - ${WRKSRC}/OMakefile ${WRKSRC}/src/main/OMakefile \ - ${WRKSRC}/doc/OMakefile +.for f in OMakefile doc/OMakefile src/main/OMakefile + @${REINPLACE_CMD} -e \ + 's|cp -f -m 444|$$(BSD_INSTALL_DATA)| ; \ + s|cp -f -m 555|$$(BSD_INSTALL_PROGRAM)|' ${WRKSRC}/${f} +.endfor post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/ - @(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} \* "${DOCSDIR}/") - @(cd ${WRKSRC}/doc/info/ \ - && ${COPYTREE_SHARE} \* "${PREFIX}/${INFO_PATH}/") + @(cd ${WRKSRC}/doc/info \ + && ${INSTALL_DATA} omake-doc.info ${PREFIX}/${INFO_PATH}) + @(cd ${WRKSRC}/doc/info \ + && ${INSTALL_DATA} omake-doc.info-* ${PREFIX}/${INFO_PATH}) +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + @(cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${DOCSDIR}) .endif .include <bsd.port.post.mk> diff --git a/devel/omake/pkg-descr b/devel/omake/pkg-descr index 2fdd5df5bb76..b19758de8242 100644 --- a/devel/omake/pkg-descr +++ b/devel/omake/pkg-descr @@ -1,5 +1,5 @@ -OMake is a build system designed for scalability and portability. It uses a -syntax similar to make utilities you may have used, but it features many -additional enhancements. +OMake is a build system designed for scalability and portability. It uses +a syntax similar to make utilities you may have used, but it features +many additional enhancements. -WWW: http://omake.metaprl.org/index.html +WWW: http://omake.metaprl.org/ |