aboutsummaryrefslogtreecommitdiff
path: root/archivers/lzo2
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2013-08-29 21:58:49 +0000
committerMatthias Andree <mandree@FreeBSD.org>2013-08-29 21:58:49 +0000
commit7b02f2f6e0b2eac7a10d8bdd5b5b189d2b4aa22b (patch)
tree282af8a2cab4e74cc6672e9144fc7f8503ac9cae /archivers/lzo2
parent80df0689f766f21df4b3502879cf4d9bdf83d83f (diff)
downloadports-7b02f2f6e0b2eac7a10d8bdd5b5b189d2b4aa22b.tar.gz
ports-7b02f2f6e0b2eac7a10d8bdd5b5b189d2b4aa22b.zip
Notes
Diffstat (limited to 'archivers/lzo2')
-rw-r--r--archivers/lzo2/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/archivers/lzo2/Makefile b/archivers/lzo2/Makefile
index 02eeb043c142..5e641078d815 100644
--- a/archivers/lzo2/Makefile
+++ b/archivers/lzo2/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: lzo
-# Date created: 21 Feb 1998
-# Whom: giffunip@asme.org
-#
+# Created by: giffunip@asme.org
# $FreeBSD$
-#
PORTNAME= lzo2
PORTVERSION= 2.06
@@ -22,7 +18,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --docdir=${DOCSDIR}
USE_LDCONFIG= yes
-.if defined(NOPORTDOCS)
+.include <bsd.port.options.mk>
+
+.if !${PORT_OPTIONS:MDOCS}
INSTALL_TARGET= install-exec install-pkgincludeHEADERS
.endif
@@ -34,7 +32,7 @@ post-build:
.endif
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README
.for i in AUTHORS BUGS COPYING NEWS README THANKS
@@ -42,7 +40,7 @@ post-install:
.endfor
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}/
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/
.endif