diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2013-08-29 21:58:49 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2013-08-29 21:58:49 +0000 |
commit | 7b02f2f6e0b2eac7a10d8bdd5b5b189d2b4aa22b (patch) | |
tree | 282af8a2cab4e74cc6672e9144fc7f8503ac9cae /archivers/lzo2 | |
parent | 80df0689f766f21df4b3502879cf4d9bdf83d83f (diff) | |
download | ports-7b02f2f6e0b2eac7a10d8bdd5b5b189d2b4aa22b.tar.gz ports-7b02f2f6e0b2eac7a10d8bdd5b5b189d2b4aa22b.zip |
Adjust NOPORTDOCS to OptionsNG.
Trim header.
PR: ports/181644
Submitted by: Takefu <takefu@airport.fm>
Notes
Notes:
svn path=/head/; revision=325635
Diffstat (limited to 'archivers/lzo2')
-rw-r--r-- | archivers/lzo2/Makefile | 14 |
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 |