[Bug 192878] comms/pr [maintainer] new source location

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 22 14:42:56 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192878

--- Comment #15 from John Marino <marino at FreeBSD.org> ---
(In reply to C Hutchinson from comment #14)
> Here goes...
> USE_XZ=		yes

This is obsolete, change it to "USES=tar:xz"



> # 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})

Do you start each line with a "tab" character?  It looks like a space
character.  Yes it matters. (I could tell if you uploaded the makefile instead
of pasted it)


> # does work
> .if ${PORT_OPTIONS:MDOCS}
> 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
> 	cd ${WRKSRC}/share/doc/pr && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
> .endif

This is fine.  It's a bit unnecessary for a single file, but if a second file
comes in the future, you're prepared.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list