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.
39 lines
1.0 KiB
Makefile
39 lines
1.0 KiB
Makefile
PORTNAME= sol
|
|
PORTVERSION= 1.0.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://shh.thathost.com/pub-unix/files/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Solitaire card game for X Window System
|
|
WWW= https://shh.thathost.com/pub-unix/\#sol
|
|
|
|
LICENSE= ART10
|
|
|
|
LIB_DEPENDS= libXaw.so:x11-toolkits/libXaw \
|
|
libshhcards.so:games/libshhcards \
|
|
libshhmsg.so:devel/libshhmsg \
|
|
libshhopt.so:devel/libshhopt \
|
|
libxalloc.so:devel/libxalloc
|
|
|
|
CONFLICTS= gnome-games
|
|
|
|
USES= gmake xorg
|
|
USE_XORG= ice sm x11 xext xmu xpm xt
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
pre-build:
|
|
(cd ${WRKSRC} && ${MAKE_CMD} readme.var)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sol ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/sol.6 ${STAGEDIR}${PREFIX}/share/man/man6
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/sol
|
|
${INSTALL_DATA} ${WRKSRC}/sol.score ${STAGEDIR}${PREFIX}/share/sol
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/sol
|
|
${INSTALL_DATA} ${WRKSRC}/CREDITS ${STAGEDIR}${PREFIX}/share/doc/sol
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/sol
|
|
|
|
.include <bsd.port.mk>
|