svn commit: r331429 - head/archivers/lzo2
Matthias Andree
mandree at FreeBSD.org
Wed Oct 23 21:16:14 UTC 2013
Author: mandree
Date: Wed Oct 23 21:16:13 2013
New Revision: 331429
URL: http://svnweb.freebsd.org/changeset/ports/331429
Log:
Support staging.
Strip library unless WITH_DEBUG is set (if it is, STRIP_CMD is a no-op),
and bump PORTREVISION.
Modified:
head/archivers/lzo2/Makefile
Modified: head/archivers/lzo2/Makefile
==============================================================================
--- head/archivers/lzo2/Makefile Wed Oct 23 21:09:56 2013 (r331428)
+++ head/archivers/lzo2/Makefile Wed Oct 23 21:16:13 2013 (r331429)
@@ -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
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>
More information about the svn-ports-all
mailing list