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.
25 lines
556 B
Makefile
25 lines
556 B
Makefile
PORTNAME= cdircmp
|
|
PORTVERSION= 0.3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= LOCAL/ehaupt
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Compare directories and select files to copy
|
|
WWW= http://home.hccnet.nl/paul.schuurmans/linux/index.html\#xdircmp
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= ncurses
|
|
LDFLAGS+= -lncurses -lform
|
|
|
|
PLIST_FILES= bin/cdircmp
|
|
|
|
do-build:
|
|
${CC} ${CFLAGS} -c ${WRKSRC}/main.c -o ${WRKSRC}/main.o
|
|
${CC} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} ${WRKSRC}/main.o
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|