svn commit: r348509 - head/devel/elfio
Steve Wills
swills at FreeBSD.org
Tue Mar 18 01:01:36 UTC 2014
Author: swills
Date: Tue Mar 18 01:01:35 2014
New Revision: 348509
URL: http://svnweb.freebsd.org/changeset/ports/348509
QAT: https://qat.redports.org/buildarchive/r348509/
Log:
- Staging support
- Fixed port options
- Added LICENSE
PR: ports/187627
Submitted by: Bartek Rutkowski <ports at robakdesign.com>
Modified:
head/devel/elfio/Makefile
Modified: head/devel/elfio/Makefile
==============================================================================
--- head/devel/elfio/Makefile Tue Mar 18 00:15:20 2014 (r348508)
+++ head/devel/elfio/Makefile Tue Mar 18 01:01:35 2014 (r348509)
@@ -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 @@ DISTNAME= ${PORTNAME:U}-${PORTVERSION}
MAINTAINER= ports at 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 @@ OPTIONE_DEFINE= EXAMPLES DOCS
PORTDOCS= *
-NO_STAGE= yes
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEXAMPLES}
@@ -45,18 +43,18 @@ pre-configure:
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>
More information about the svn-ports-all
mailing list