diff options
Diffstat (limited to 'archivers/lzo2/Makefile')
-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 |