games/cursive: remove post-patch sed substituion

Reinstante patch instead since we are replacing just static content
see: https://www.freebsd.org/doc/en/books/porters-handbook/slow-patch.html#slow-patch-automatic-replacements

Not bumping PORTREVISION.

Reported by:    mat@
This commit is contained in:
Fernando Apesteguía 2020-03-25 09:08:54 +00:00
parent 2d3940eaf9
commit ce5874a5be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529082
2 changed files with 11 additions and 3 deletions

View File

@ -17,9 +17,6 @@ NO_WRKSUBDIR= yes
PLIST_FILES= bin/cursive \
man/man6/cursive.6.gz
post-patch:
@${REINPLACE_CMD} -e 's|/usr/games/||g' ${WRKSRC}/cursive.6
do-build:
${CC} ${CFLAGS} -c ${WRKSRC}/cursive.c -o ${WRKSRC}/cursive.o
${CC} ${CFLAGS} -c ${WRKSRC}/font.c -o ${WRKSRC}/font.o

View File

@ -0,0 +1,11 @@
--- cursive.6.orig 1991-10-20 01:13:47 UTC
+++ cursive.6
@@ -3,7 +3,7 @@
.SH NAME
cursive \- print text in cursive script
.SH SYNOPSIS
-.B /usr/games/cursive
+.B cursive
[
.BI \-i n
]