aboutsummaryrefslogtreecommitdiff
path: root/archivers/lzo2/Makefile
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-08-08 22:24:23 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-08-08 22:24:23 +0000
commitfe7245d280d22fe66a9e3bffd41b2b4a35f36d60 (patch)
treee8f9c1085a8097363e32286721c817a02a120b81 /archivers/lzo2/Makefile
parent0c10f23da93cab4de6562035434cc301992993c3 (diff)
downloadports-fe7245d280d22fe66a9e3bffd41b2b4a35f36d60.tar.gz
ports-fe7245d280d22fe66a9e3bffd41b2b4a35f36d60.zip
Notes
Diffstat (limited to 'archivers/lzo2/Makefile')
-rw-r--r--archivers/lzo2/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile
index 81b17a9f5df2..414083a6b308 100644
--- a/archivers/lzo2/Makefile
+++ b/archivers/lzo2/Makefile
@@ -10,7 +10,6 @@ PORTVERSION= 2.05
CATEGORIES= archivers devel
MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/ \
LOCAL/mandree
-
DISTNAME= lzo-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
MAINTAINER= mandree@FreeBSD.org
@@ -23,10 +22,16 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --docdir=${DOCSDIR}
USE_LDCONFIG= yes
+.if defined(NOPORTDOCS)
+INSTALL_TARGET= install-exec install-pkgincludeHEADERS
+.endif
+
post-build:
+.if !defined(WITHOUT_CHECKS)
@${ECHO_MSG} "===> Running self-tests for ${PKGNAME} (can take a few minutes)"
@#: override MALLOC_OPTIONS, else tests take excessively long
cd ${WRKSRC} && ${SETENV} MALLOC_OPTIONS=jz ${MAKE} check test SHELL="${SH} -x"
+.endif
post-install:
.if !defined(NOPORTDOCS)
@@ -37,7 +42,6 @@ post-install:
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/
.endif
-
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/