Files
ports/misc/inplace/Makefile
T
Tobias Kortkamp 18a2d75dd3 *: Fix WWW with broken anchors-as-comments
Case 1: WWW=https://example.com#foo

 Here #foo is not part of the value of WWW since # introduces a comment
 whether it's part of a word or not (quoting the word+# makes no
 difference either).  # needs to be escaped:

   WWW=https://example.com\#foo

Case 2: WWW=https://example.com #foo

 This is probably fallout from when WWW was moved from pkg-descr to
 Makefile.

The anchors still exist on the actual websites too or I removed them.
2026-03-17 22:29:31 +01:00

26 lines
546 B
Makefile

PORTNAME= inplace
PORTVERSION= 1.2.3
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
LOCAL/knu
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool to edit files in-place through given filter commands
WWW= https://akinori.org/\#inplace
USES= tar:bzip2 uidfix ruby shebangfix
MAKE_ARGS= PREFIX="${PREFIX}" MANPREFIX="${PREFIX}/share"
MAKEFILE= BSDmakefile
SHEBANG_FILES= lib/inplace.rb
PLIST_FILES= bin/inplace \
share/man/man1/inplace.1.gz
test: build
cd ${WRKSRC}; ${MAKE} test
.include <bsd.port.mk>