diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2013-10-23 21:16:13 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2013-10-23 21:16:13 +0000 |
commit | 5bc9f2a78005f5766853ca24c37a7561b094fda5 (patch) | |
tree | 95411a934d16a18a76b668c088657e84c46d44ae /archivers | |
parent | Update distinfo path. (diff) |
Support staging.
Strip library unless WITH_DEBUG is set (if it is, STRIP_CMD is a no-op),
and bump PORTREVISION.
Notes
Notes:
svn path=/head/; revision=331429
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/lzo2/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile index c9626552608e..30d9ec9d0db3 100644 --- a/archivers/lzo2/Makefile +++ b/archivers/lzo2/Makefile @@ -3,6 +3,7 @@ PORTNAME= lzo2 PORTVERSION= 2.06 +PORTREVISION= 1 CATEGORIES= archivers devel MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/ \ LOCAL/mandree @@ -13,7 +14,6 @@ COMMENT= Portable speedy, lossless data compression library LICENSE= GPLv2 -NO_STAGE= yes USE_AUTOTOOLS= libtool GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-shared --docdir=${DOCSDIR} @@ -33,17 +33,18 @@ post-build: .endif post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/liblzo2.so.2 .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README .for i in AUTHORS BUGS COPYING NEWS README THANKS - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ .endfor - ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/ .endif .if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/ + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${STAGEDIR}${EXAMPLESDIR}/ .endif .include <bsd.port.mk> |