ports/135441: [PATCH] korean/ko-hanterm: fix for NOPORTDOCS

Dmitry Marakasov amdmi3 at amdmi3.ru
Wed Jun 10 12:10:05 UTC 2009


>Number:         135441
>Category:       ports
>Synopsis:       [PATCH] korean/ko-hanterm: fix for NOPORTDOCS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 10 12:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun  1 22:13:51 MSD
>Description:
The port creates DOCSDIR even if NOPORTDOCS is set, and in that case it's not removed on deinstall. Fix that and also use DOCSDIR.

Reported by:	QAT

Port maintainer (cjh at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ko-hanterm-3.1.6_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/korean/hanterm/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile	9 Jun 2009 15:33:12 -0000	1.29
+++ Makefile	10 Jun 2009 12:06:29 -0000
@@ -27,10 +27,10 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/hanterm ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/Hanterm.ad \
 		${PREFIX}/lib/X11/app-defaults/Hanterm
-	${MKDIR} ${PREFIX}/share/doc/hanterm
 .if !defined(NOPORTDOCS)
-	${INSTALL_DATA} ${WRKSRC}/doc/devel/hanterm.html ${PREFIX}/share/doc/hanterm/
-	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/hanterm/
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/devel/hanterm.html ${DOCSDIR}/
+	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}/
 .endif
 
 .include <bsd.port.mk>
--- ko-hanterm-3.1.6_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list