Bug 42453

Summary: patch: unbreak audio/cam install process
Product: Ports & Packages Reporter: Adam Weinberger <adam>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Adam Weinberger 2002-09-05 18:50:05 UTC
	the audio/cam install process is broken. this patches the port Makefile
	and provides a do-install targes. see:
	http://bento.freebsd.org/errorlogs/4-latest/cam-1.02.log
Comment 1 Adam Weinberger 2002-09-05 19:05:59 UTC
geez, not so cool. copied in the wrong patch!
--- Makefile.orig       Thu Sep  5 10:29:57 2002
+++ Makefile    Thu Sep  5 10:55:32 2002
@@ -16,4 +16,10 @@
 
 MAN1=  cam.1
   
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/cam ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+       ${INSTALL_MAN} ${WRKSRC}/cam.1 ${MANPREFIX}/share/man/man1
+.endif
+
.include <bsd.port.mk>
Comment 2 Trevor Johnson 2002-09-05 19:22:56 UTC
>  geez, not so cool. copied in the wrong patch!

Your original patch looked better, because manual pages are supposed to be
installed regardless of whether NOPORTDOCS is set.  See
<URL:http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/x2953.html>.
-- 
Trevor Johnson
Comment 3 Trevor Johnson freebsd_committer freebsd_triage 2002-09-05 19:30:43 UTC
State Changed
From-To: open->closed

committed--thank you, Adam