diff options
author | Steve Wills <swills@FreeBSD.org> | 2014-03-18 01:01:35 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2014-03-18 01:01:35 +0000 |
commit | fc5a1a8081552defdddfe7a555bca7d1933d5815 (patch) | |
tree | d5b716ab6a8b9540df7c3488fb6de6a39899e572 | |
parent | 6c1337a389177b930689fb47d09f45be4ceb8918 (diff) | |
download | ports-fc5a1a8081552defdddfe7a555bca7d1933d5815.tar.gz ports-fc5a1a8081552defdddfe7a555bca7d1933d5815.zip |
- Staging support
- Fixed port options
- Added LICENSE
PR: ports/187627
Submitted by: Bartek Rutkowski <ports@robakdesign.com>
Notes
Notes:
svn path=/head/; revision=348509
-rw-r--r-- | devel/elfio/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/devel/elfio/Makefile b/devel/elfio/Makefile index f2551fc496ca..08347a273257 100644 --- a/devel/elfio/Makefile +++ b/devel/elfio/Makefile @@ -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@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> |