Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2014 01:56:18 GMT
From:      Bartek Rutkowski <ports@robakdesign.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/187627: [PORT-UPDATE] devel/elfio - fixes
Message-ID:  <201403160156.s2G1uIYI040124@cgiserv.freebsd.org>
Resent-Message-ID: <201403160200.s2G201JD006588@freefall.freebsd.org>

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

>Number:         187627
>Category:       ports
>Synopsis:       [PORT-UPDATE] devel/elfio - fixes
>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:   Sun Mar 16 02:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Bartek Rutkowski
>Release:        10.0-RELEASE
>Organization:
Pixeware LTD
>Environment:
FreeBSD ports-dev 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Changes:

* staging support
* fixed port options
* added LICENSE
>How-To-Repeat:
Use the patch, test the port, commit.
>Fix:
Patch attached.

Patch attached with submission follows:

diff -ruN elfio.orig/Makefile elfio/Makefile
--- elfio.orig/Makefile	2014-03-16 01:20:30.115858998 +0100
+++ elfio/Makefile	2014-03-16 01:33:00.551526998 +0100
@@ -3,7 +3,7 @@
 
 PORTNAME=	elfio
 PORTVERSION=	1.0.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/ELFIO-sources/ELFIO-${PORTVERSION}
 DISTNAME=	${PORTNAME:U}-${PORTVERSION}
@@ -11,6 +11,8 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ library for reading and generating files in the ELF binary format
 
+LICENSE=	LGPL21
+
 BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
 
 GNU_CONFIGURE=	yes
@@ -23,10 +25,6 @@
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MEXAMPLES}
@@ -45,18 +43,18 @@
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in AUTHORS ChangeLog README
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .for f in elf11g.zip tutorial.docbook tutorial.pdf
-	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@${FIND} ${WRKSRC}/Examples/ -name "*.cpp" -exec ${INSTALL_DATA} {} \
-		${EXAMPLESDIR}/ \;
+		${STAGEDIR}${EXAMPLESDIR}/ \;
 .endif
 
 .include <bsd.port.mk>


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403160156.s2G1uIYI040124>