This commit is contained in:
jasper 2015-10-09 12:48:21 +00:00
parent 02e26726b9
commit e32922a8b1
13 changed files with 31 additions and 30 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.24 2014/07/23 11:41:56 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.25 2015/10/09 12:48:21 jasper Exp $
COMMENT= text document format for writing documents and man pages
@ -34,7 +34,7 @@ FAKE_FLAGS= sysconfdir=${PREFIX}/share/examples
CONFIGURE_STYLE=gnu
post-configure:
@perl -pi -e 's,/etc,${SYSCONFDIR},g' ${WRKSRC}/asciidoc.py
@sed -i 's,/etc,${SYSCONFDIR},g' ${WRKSRC}/asciidoc.py
post-install:
${INSTALL_DATA_DIR} ${WRKINST}${MODPY_SITEPKG}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2015/06/19 16:29:32 jca Exp $
# $OpenBSD: Makefile,v 1.11 2015/10/09 12:48:21 jasper Exp $
COMMENT = fast C implementation of Markdown
@ -24,6 +24,6 @@ CONFIGURE_ARGS += ${CONFIGURE_SHARED}
INSTALL_TARGET = install.everything
pre-configure:
@perl -pi -e 's,\./markdown,\./discount,' ${WRKSRC}/tests/*
@sed -i 's,\./markdown,\./discount,' ${WRKSRC}/tests/*
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.21 2015/04/04 09:21:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.22 2015/10/09 12:48:21 jasper Exp $
COMMENT= generic spell checking library/wrapper
@ -44,7 +44,7 @@ CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
MAKE_FLAGS= CXX_WARN_CFLAGS=""
pre-configure:
@perl -pi -e 's,MKDIRPROG-mkdir,MKDIRPROG-mkdir -p,g' \
@sed -i 's,MKDIRPROG-mkdir,MKDIRPROG-mkdir -p,g' \
${WRKSRC}/install-sh
@perl -pi -e 's,\$$\(datadir\),${LOCALBASE}/share,g' \
${WRKSRC}/doc/enchant.1

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.47 2015/06/01 06:58:00 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.48 2015/10/09 12:48:21 jasper Exp $
NOT_FOR_ARCHS= ${GCC3_ARCHS}
@ -74,7 +74,7 @@ CONFIGURE_ENV += CPPFLAGS="-DU_IS_BIG_ENDIAN=1"
# binutils bugs on mips64.
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
pre-configure:
perl -pi -e 's|-Wl,-Bsymbolic||g' ${WRKSRC}/config/mh-bsd-gcc
sed -i 's|-Wl,-Bsymbolic||g' ${WRKSRC}/config/mh-bsd-gcc
.endif
post-install:

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.5 2015/09/20 12:03:54 jasper Exp $
# $OpenBSD: Makefile,v 1.6 2015/10/09 12:48:22 jasper Exp $
COMMENT = XML parser written in Vala
DISTNAME = libxmlbird-1.0.6
@ -28,7 +28,7 @@ TEST_DEPENDS = ${BASE_PKGPATH}
CONFIGURE_STYLE = simple
pre-configure:
perl -pi -e "s,bash,sh,g" ${WRKSRC}/scripts/run.py
sed -i "s,bash,sh,g" ${WRKSRC}/scripts/run.py
${SUBST_CMD} ${WRKSRC}/dodo.py
do-build:

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2015/05/28 10:17:25 pascal Exp $
# $OpenBSD: Makefile,v 1.18 2015/10/09 12:48:22 jasper Exp $
ONLY_FOR_ARCHS-java = i386 amd64
COMMENT-main = syntactic parser of different languages
@ -72,7 +72,7 @@ CONFIGURE_ARGS += --disable-java-bindings
.endif
pre-configure:
perl -pi -e 's,-O2,,g;' -e 's,-O3,,g' ${WRKSRC}/configure
sed -i -e 's,-O2,,g;' -e 's,-O3,,g' ${WRKSRC}/configure
post-install:
rm ${PREFIX}/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/clinkgrammar.{a,la}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/06/25 22:57:01 jturner Exp $
# $OpenBSD: Makefile,v 1.2 2015/10/09 12:48:22 jasper Exp $
SHARED_ONLY = Yes
@ -21,7 +21,7 @@ MAKE_FLAGS = LUAINC="-I${MODLUA_INCL_DIR}"
FAKE_FLAGS = DESTDIR=""
pre-configure:
perl -pi -e 's,/usr/bin/env lua,${MODLUA_BIN},' ${WRKSRC}/test.lua
sed -i 's,/usr/bin/env lua,${MODLUA_BIN},' ${WRKSRC}/test.lua
do-install:
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR}

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.11 2015/08/25 13:18:27 sthen Exp $
# $OpenBSD: Makefile,v 1.12 2015/10/09 12:48:22 jasper Exp $
COMMENT = simple viewer for NFO files
MODPY_EGG_VERSION = 1.16
@ -32,7 +32,7 @@ TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
devel/py-gobject3${MODPY_FLAVOR}
post-patch:
perl -pi -e "s,share/man,man,g" ${WRKSRC}/setup.py
sed -i "s,share/man,man,g" ${WRKSRC}/setup.py
do-test:
cd ${WRKSRC}/nfoview && ${LOCALBASE}/bin/py.test-3 unittest.py

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/04/20 17:06:31 sthen Exp $
# $OpenBSD: Makefile,v 1.2 2015/10/09 12:48:22 jasper Exp $
COMMENT= small tools to operate on patch files
@ -32,7 +32,7 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-patch=${LOCALBASE}/bin/gpatch
pre-test:
perl -pi -e "s|/bin/echo -ne '\\\t'|printf '\\\t'|" \
@sed -i "s|/bin/echo -ne '\\\t'|printf '\\\t'|" \
${WRKSRC}/tests/flip*/run-test
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2015/09/18 14:54:15 benoit Exp $
# $OpenBSD: Makefile,v 1.19 2015/10/09 12:48:22 jasper Exp $
COMMENT = code searching tool, with a focus on speed (ag)
@ -25,7 +25,7 @@ CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include"
NO_TEST = YES
pre-configure:
perl -pi -e "s,-O2,,g" ${WRKSRC}/configure
sed -i "s,-O2,,g" ${WRKSRC}/configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ag ${PREFIX}/bin/ag

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.20 2015/07/23 07:48:24 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.21 2015/10/09 12:48:22 jasper Exp $
COMMENT= utility to turn simply formatted text into markup
@ -26,11 +26,12 @@ DOCDIR= ${PREFIX}/share/doc/txt2tags
EXAMPLESDIR= ${PREFIX}/share/examples/txt2tags
LOCALEDIR= ${PREFIX}/share/locale
MODPY_ADJ_FILES={txt2tags,extras/gensite,test/run.py} \
samples/module/module-{body,full}.py
pre-configure:
@perl -pi -e "s,^#!/usr/bin/env python,#!${MODPY_BIN}," \
${WRKSRC}/{txt2tags,extras/gensite,test/run.py} \
${WRKSRC}/samples/module/module-{body,full}.py
@perl -pi -e "s,/usr/share/locale/,${LOCALBASE}/share/locale," \
${MODPYTHON_pre-configure}
sed -i "s,/usr/share/locale/,${LOCALBASE}/share/locale," \
${WRKSRC}/txt2tags
do-build:
@ -58,7 +59,7 @@ do-install:
done
do-test:
@perl -pi -e 's,abspath,basename,' ${WRKSRC}/test/lib.py
@sed -i 's,abspath,basename,' ${WRKSRC}/test/lib.py
PATH=${WRKSRC}:$$PATH ${WRKSRC}/test/run.py
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.25 2015/06/17 08:50:02 bentley Exp $
# $OpenBSD: Makefile,v 1.26 2015/10/09 12:48:22 jasper Exp $
COMMENT= curses-based URL ripper
@ -34,7 +34,7 @@ WANTLIB+= ncurses
pre-build:
${SUBST_CMD} ${WRKSRC}/{urlview.c,url_handler.sh}
@perl -pi -e "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/urlview.man
@sed -i "s,/etc,${SYSCONFDIR},g" ${WRKSRC}/urlview.man
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/urlview

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.15 2015/04/17 08:01:32 phessler Exp $
# $OpenBSD: Makefile,v 1.16 2015/10/09 12:48:22 jasper Exp $
COMMENT= front-end for converting XML files to various formats
@ -46,7 +46,7 @@ CONFIGURE_ENV= BASH=${LOCALBASE}/bin/bash \
ZIP_PATH=${LOCALBASE}/bin/zip
pre-configure:
perl -pi -e 's,/bin/bash,${LOCALBASE}/bin/bash,g' \
sed -i 's,/bin/bash,${LOCALBASE}/bin/bash,g' \
${WRKSRC}/xmlif/test/run-test
.include <bsd.port.mk>