18a2d75dd3
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.
29 lines
719 B
Makefile
29 lines
719 B
Makefile
PORTNAME= quit
|
|
PORTVERSION= 1.2a
|
|
PORTREVISION= 3
|
|
CATEGORIES?= games
|
|
MASTER_SITES= https://fukuchi.org/archive/shortshort/
|
|
|
|
MAINTAINER?= meta@FreeBSD.org
|
|
COMMENT= Bicycle with trailers like "sl"
|
|
WWW= https://fukuchi.org/en/works/shortshort/quit/
|
|
|
|
USES= ncurses
|
|
|
|
MANLANG= ja
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} ${CPPFLAGS} -o ${WRKSRC}/quit \
|
|
${WRKSRC}/quit.c ${LDFLAGS} -lncurses
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/quit ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/man/ja/man1
|
|
${INSTALL_MAN} ${WRKSRC}/quit.1 ${STAGEDIR}${PREFIX}/share/man/ja/man1
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/quit.txt \
|
|
${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|