Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Sep 2009 10:49:20 -0700 (PDT)
From:      Julien Laffaye <kimelto@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/138671: [PATCH] print/libharu: fix plist, cleanups, take maintainership
Message-ID:  <4aa7eaa0.0508d00a.046e.3878@mx.google.com>
Resent-Message-ID: <200909091750.n89Ho22A016323@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138671
>Category:       ports
>Synopsis:       [PATCH] print/libharu: fix plist, cleanups, take maintainership
>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 Sep 09 17:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Julien Laffaye
>Release:        FreeBSD 7.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD laptop.kimelto.eu 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009
>Description:
- Fix plist when NOPORTDOCS isnt defined (docs specified two times)
- Cleanups, use proper macro instead of cp -R
- Take maintainership

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

--- libharu-2.1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/print/libharu.orig/Makefile /usr/ports/print/libharu/Makefile
--- /usr/ports/print/libharu.orig/Makefile	2009-09-09 19:17:37.000000000 +0200
+++ /usr/ports/print/libharu/Makefile	2009-09-09 19:39:07.000000000 +0200
@@ -11,22 +11,19 @@
 CATEGORIES=	print
 MASTER_SITES=	http://libharu.org/files/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	kimelto@gmail.com
 COMMENT=	Haru Free PDF Library
 
 LIB_DEPENDS=	png:${PORTSDIR}/graphics/png
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 GNU_CONFIGURE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
 USE_LDCONFIG=	yes
 
-.if !defined(NOPORTDOCS)
-PORTDOCS=	*
-
 post-install:
+.if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-	${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
+	@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} \* ${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>
--- libharu-2.1.0.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4aa7eaa0.0508d00a.046e.3878>