View | Details | Raw Unified | Return to bug 181644
Collapse All | Expand All

(-)./Makefile (-7 / +6 lines)
Lines 1-9 Link Here
1
# New ports collection makefile for:	lzo
1
# Created by: giffunip@asme.org
2
# Date created:				21 Feb 1998
3
# Whom:					giffunip@asme.org
4
#
5
# $FreeBSD: ports/archivers/lzo2/Makefile,v 1.59 2012/11/17 05:54:21 svnexp Exp $
2
# $FreeBSD: ports/archivers/lzo2/Makefile,v 1.59 2012/11/17 05:54:21 svnexp Exp $
6
#
7
 PORTNAME=	lzo2
3
 PORTNAME=	lzo2
8
PORTVERSION=	2.06
4
PORTVERSION=	2.06
Lines 22-28 Link Here
22
CONFIGURE_ARGS=	--enable-shared --docdir=${DOCSDIR}
18
CONFIGURE_ARGS=	--enable-shared --docdir=${DOCSDIR}
23
USE_LDCONFIG=	yes
19
USE_LDCONFIG=	yes
24
-.if defined(NOPORTDOCS)
20
-.if defined(NOPORTDOCS)
21
.include <bsd.port.options.mk>
22
23
.if !${PORT_OPTIONS:MDOCS}
25
INSTALL_TARGET=	install-exec install-pkgincludeHEADERS
24
INSTALL_TARGET=	install-exec install-pkgincludeHEADERS
26
.endif
25
.endif
27
@@ -34,7 +32,7 @@
26
@@ -34,7 +32,7 @@
28
.endif
27
.endif
29
 post-install:
28
 post-install:
30
.if !defined(NOPORTDOCS)
29
.if ${PORT_OPTIONS:MDOCS}
31
	${MKDIR} ${DOCSDIR}
30
	${MKDIR} ${DOCSDIR}
32
	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README
31
	cd ${WRKSRC} && ${REINPLACE_CMD} -e 's,doc/,,' NEWS README
33
.for i in AUTHORS BUGS COPYING NEWS README THANKS
32
.for i in AUTHORS BUGS COPYING NEWS README THANKS
Lines 42-48 Link Here
42
.endfor
40
.endfor
43
	${INSTALL_DATA}	${WRKSRC}/doc/* ${DOCSDIR}/
41
	${INSTALL_DATA}	${WRKSRC}/doc/* ${DOCSDIR}/
44
.endif
42
.endif
45
.if !defined(NOPORTEXAMPLES)
43
.if ${PORT_OPTIONS:MEXAMPLES}
46
	${MKDIR} ${EXAMPLESDIR}
44
	${MKDIR} ${EXAMPLESDIR}
47
	${INSTALL_DATA}	${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/
45
	${INSTALL_DATA}	${WRKSRC}/examples/[a-z]*.[ch] ${EXAMPLESDIR}/
48
.endif
46
.endif

Return to bug 181644