From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 22 14:36:47 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2509695 for ; Fri, 22 Aug 2014 14:36:47 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0C260393A for ; Fri, 22 Aug 2014 14:36:47 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7MEakdU003255 for ; Fri, 22 Aug 2014 14:36:46 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 192878] comms/pr [maintainer] new source location Date: Fri, 22 Aug 2014 14:36:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2014 14:36:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192878 --- Comment #14 from C Hutchinson --- (In reply to John Marino from comment #13) > (In reply to C Hutchinson from comment #12) > > Well. I'm stumped. > > Using your example verbatim, and in every other possible variance, > > the build fails with: > >=20 > > "Makefile", line 33: Missing dependency operator >=20 > attach your working version of the makefile so I can see it (not shar, ju= st > upload it as it is) >=20 >=20 > >=20 > > for all three lines (33, 34, 35). > > I've also copied blocks that use your same technique, out of other > > ports. But same results. I've also used examples out of the porters > > handbook. Same results. Altho, you will probably be happy to know > > I've changed the DOC install block to something you'd probably > > approve of: > >=20 > > .if !defined(NOPORTDOCS) > > @${MKDIR} ${STAGEDIR}${DOCSDIR} > > cd ${WRKSRC}/share/doc/pr && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCS= DIR} > > .endif >=20 >=20 >=20 > unfortunately NOPORTDOCS is deprecated. portlint should complain. > Just define OPTIONS_DEFINE=3DDOCS and use PORT_OPTIONS:MDOCS, there a tho= usand > examples in ports Yep, and a couple of them are mine. :) >=20 >=20 > >=20 > > There are no problems with that, at least. But that's all that > > works. > >=20 > > FWIW I tried this, and several variations: > >=20 > > (cd ${WRKSRC}/sbin && ${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX= }) > >=20 > > I had to use INSTALL_SCRIPT to avoid strip(1) being called against > > ${PROGRAMS}. Which are simply Perl scripts. >=20 > INSTALL_SCRIPT is correct in this case I also tried COPYTREE_BIN >=20 >=20 > >=20 > > I used: > >=20 > > (cd ${WRKSRC}/etc && ${INSTALL_DATA} ${ETCFILES} ${STAGEDIR}${PREFIX}) > >=20 > > for the .conf, and rc(8) files. But same results. > > OH well. >=20 > I suspect the error message you get isn't for these lines, but something > else. I don't see anything wrong them them. Here goes... PORTNAME=3D pr PORTVERSION=3D 1.1 CATEGORIES=3D comms net MASTER_SITES=3D http://bsdforge.com/projects/source/comms/pr/ DISTNAME=3D pr-${PORTVERSION} MAINTAINER=3D portmaster@bsdforge.com COMMENT=3D Daemon that connects local terminal device to a terminal serv= er LICENSE=3D ARTPERL10 USE_XZ=3D yes OPTIONS_DEFINE=3D DOCS DOCS=3D PR.html WRKSRC=3D ${WRKDIR}/${PORTNAME} PROGRAMS=3D PortRedirector PortTest ETCFLS=3D PortRedirector.conf.sample RCDFILES=3D pr.sh.sample NO_BUILD=3D YES # doesn't work do-install: (cd ${WRKSRC}/sbin && ${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX}) (cd ${WRKSRC}/etc/rc.d && ${INSTALL_DATA} ${RCDFILES} ${STAGEDIR}${PREFIX}) (cd ${WRKSRC}/etc && ${INSTALL_DATA} ${ETCFLS} ${STAGEDIR}${PREFIX}) # does work .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/share/doc/pr && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSD= IR} .endif .include Thanks for your reply, John. :) --Chris --=20 You are receiving this mail because: You are the assignee for the bug.=