sed -i
This commit is contained in:
parent
042da60e8d
commit
1796fa9d29
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.4 2015/06/04 15:10:09 kirby Exp $
|
||||
# $OpenBSD: Makefile,v 1.5 2015/08/21 14:42:50 jasper Exp $
|
||||
|
||||
COMMENT = birthday reminder with tray notification
|
||||
|
||||
@ -27,7 +27,7 @@ MODPY_ADJ_FILES += src/gb
|
||||
PKG_ARCH = *
|
||||
|
||||
post-patch:
|
||||
perl -pi -e 's|_Comment|Comment|' ${WRKSRC}/gbirthday.desktop.in
|
||||
sed -i 's,_Comment,Comment,' ${WRKSRC}/gbirthday.desktop.in
|
||||
|
||||
do-build:
|
||||
# dummy. cannot be "NO_BUILD" as that zaps BUILD_DEPENDS.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.77 2015/06/29 06:12:50 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.78 2015/08/21 14:42:50 jasper Exp $
|
||||
|
||||
SHARED_ONLY = Yes
|
||||
|
||||
@ -83,7 +83,7 @@ DOC_DIR = ${WRKDIR}/gnucash-docs-${GNOME_VERSION}
|
||||
# cannot use CPPFLAGS/CFLAGS since they get appended last
|
||||
#MAKE_FLAGS += CC="${CC} -I${LOCALBASE}/include/guile/2.0"
|
||||
pre-configure:
|
||||
perl -pi -e 's,guile-2.0,guile-99.99,g' ${WRKSRC}/configure
|
||||
sed -i 's,guile-2.0,guile-99.99,g' ${WRKSRC}/configure
|
||||
|
||||
post-configure:
|
||||
cd ${DOC_DIR} && ${SETENV} ${CONFIGURE_ENV} /bin/sh ./configure
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.27 2015/07/30 11:28:31 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.28 2015/08/21 14:42:50 jasper Exp $
|
||||
|
||||
COMMENT= GTD organizer for GNOME
|
||||
|
||||
@ -34,6 +34,6 @@ MODPY_ADJ_FILES= GTG/gtg.py gtg
|
||||
NO_TEST= Yes
|
||||
|
||||
pre-configure:
|
||||
perl -pi -e "s,share/man,man,g" ${WRKSRC}/setup.py
|
||||
sed -i "s,share/man,man,g" ${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.24 2015/05/05 17:00:18 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.25 2015/08/21 14:42:50 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -49,7 +49,7 @@ LIB_DEPENDS= devel/libnotify>=0.7.2 \
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/configure
|
||||
@find ${WRKSRC} -name Makefile.in -exec perl -pi \
|
||||
@find ${WRKSRC} -name Makefile.in -exec sed -i \
|
||||
-e 's,-Wall -g,-Wall,g;' \
|
||||
-e 's,-Wmissing-prototypes -g,-Wmissing-prototypes,g' {} \;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.32 2015/03/27 08:14:14 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.33 2015/08/21 14:42:50 jasper Exp $
|
||||
|
||||
COMMENT= project management tool
|
||||
BROKEN-i386= self-checks fail with 64-bit time_t
|
||||
@ -54,7 +54,7 @@ post-extract:
|
||||
@rm ${WRKSRC}/TestSuite/Syntax/Errors/Timezone.tjp
|
||||
|
||||
pre-configure:
|
||||
@perl -pi -e "s,\@PACKAGES_DIR\@Examples/,\@PACKAGES_DIR\@," \
|
||||
@sed -i "s,\@PACKAGES_DIR\@Examples/,\@PACKAGES_DIR\@," \
|
||||
${WRKSRC}/Examples/*/Makefile.in \
|
||||
${WRKSRC}/Examples/*/*/Makefile.in
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2015/05/28 18:17:45 kili Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2015/08/21 14:42:50 jasper Exp $
|
||||
|
||||
COMMENT = command line todo list manager
|
||||
|
||||
@ -42,11 +42,11 @@ CONFIGURE_ENV += CFLAGS="-I${LOCALBASE}/include" \
|
||||
NO_TEST = Yes
|
||||
|
||||
pre-configure:
|
||||
@perl -pi -e 's|share/doc/task/|share/taskwarrior/|g' \
|
||||
@sed -i 's,share/doc/task/,share/taskwarrior/,g' \
|
||||
${WRKSRC}/doc/man/task-color.5.in \
|
||||
${WRKSRC}/doc/man/taskrc.5.in \
|
||||
${WRKSRC}/src/Config.cpp
|
||||
@perl -pi -e 's|share/doc/task-VERSION/|share/taskwarrior/|g' \
|
||||
@sed -i 's,share/doc/task-VERSION/,share/taskwarrior/,g' \
|
||||
${WRKSRC}/scripts/vim/README
|
||||
|
||||
post-install:
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.9 2013/10/10 17:04:07 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.10 2015/08/21 14:42:50 jasper Exp $
|
||||
|
||||
COMMENT= simple but effective personal calendar
|
||||
|
||||
@ -21,7 +21,7 @@ WRKDIST= ${WRKDIR}/when_dist/
|
||||
NO_TEST= Yes
|
||||
|
||||
do-configure:
|
||||
@perl -pi -e 's,/usr/bin,${PREFIX}/bin,' ${WRKSRC}/when.1
|
||||
@sed -i 's,/usr/bin,${PREFIX}/bin,' ${WRKSRC}/when.1
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/when ${PREFIX}/bin
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.28 2015/06/28 05:47:35 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.29 2015/08/21 14:42:51 jasper Exp $
|
||||
|
||||
COMMENT = event logging framework
|
||||
|
||||
@ -63,7 +63,7 @@ pre-configure:
|
||||
.for i in datahub/Makefile.in examples/vala/Makefile.in extensions/Makefile.in \
|
||||
extensions/fts++/Makefile.in libzeitgeist/Makefile.in src/Makefile.in \
|
||||
test/direct/Makefile.in
|
||||
perl -pi -e 's,--target-glib=2.26,--target-glib=2.36,g' ${WRKSRC}/$i
|
||||
sed -i 's,--target-glib=2.26,--target-glib=2.36,g' ${WRKSRC}/$i
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user