ports/115038: [PATCH] mail/eps -- Install header files in include/eps and minor cleanup

Michael Johnson ahze at FreeBSD.org
Mon Jul 30 12:40:04 UTC 2007


>Number:         115038
>Category:       ports
>Synopsis:       [PATCH] mail/eps -- Install header files in include/eps and minor cleanup
>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:   Mon Jul 30 12:40:03 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        
>Organization:
>Environment:
>Description:
- Install header files in include/eps instead of include/, installing in include/ conflicts with multimedia/ffmpeg. Plus installing in include/eps is the default of eps

root at buh /usr/ports/mail/eps/work/eps-1.5 > grep usr\/include Makefile
INCDIR = /usr/include/eps

- Update include flags in epstools
- Remove RUN_DEPENDS from epstools, its not needed.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/eps/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	10 May 2006 22:36:50 -0000	1.2
+++ Makefile	30 Jul 2007 12:32:07 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	eps
 PORTVERSION=	1.5
+PORTREVISION=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.inter7.com/eps/
 
@@ -24,7 +25,8 @@
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/libeps.a ${PREFIX}/lib
-	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/
+	${MKDIR} ${PREFIX}/include/eps
+	${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/eps
 
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/mail/eps/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- pkg-plist	21 Jul 2005 16:46:22 -0000	1.1
+++ pkg-plist	30 Jul 2007 12:32:07 -0000
@@ -1,19 +1,20 @@
-include/address.h
-include/base64.h
-include/boundary.h
-include/buffer.h
-include/content.h
-include/email.h
-include/eps.h
-include/fold.h
-include/header.h
-include/int_buffer.h
-include/int_stream.h
-include/interface.h
-include/line.h
-include/mime.h
-include/misc.h
-include/qp.h
-include/rfc2822.h
-include/unfold.h
+include/eps/address.h
+include/eps/base64.h
+include/eps/boundary.h
+include/eps/buffer.h
+include/eps/content.h
+include/eps/email.h
+include/eps/eps.h
+include/eps/fold.h
+include/eps/header.h
+include/eps/int_buffer.h
+include/eps/int_stream.h
+include/eps/interface.h
+include/eps/line.h
+include/eps/mime.h
+include/eps/misc.h
+include/eps/qp.h
+include/eps/rfc2822.h
+include/eps/unfold.h
 lib/libeps.a
+ at dirrm include/eps
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/epstools/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	10 May 2006 22:36:50 -0000	1.2
+++ Makefile	30 Jul 2007 12:32:18 -0000
@@ -13,11 +13,10 @@
 COMMENT=	EPS (Email Parsing System) sample tools
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libeps.a:${PORTSDIR}/mail/eps
-RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PORTDOCS=	README
 
-MAKE_ENV+=	DEFS="-I${LOCALBASE}/include ${CFLAGS}"
+MAKE_ENV+=	DEFS="-I${LOCALBASE}/include/eps ${CFLAGS}"
 SUB_FILES=	pkg-message
 
 EXAMPLE_FILES=	addr.1 addr.2 addr.3 addr.4 email.1 email.2 virus.email


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



More information about the freebsd-ports-bugs mailing list