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

(-)misc/colortail/Makefile (-9 / +3 lines)
Lines 14-32 Link Here
14
MAINTAINER=	ports@FreeBSD.org
14
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	A colour-able replacement for tail(1)
15
COMMENT=	A colour-able replacement for tail(1)
16
16
17
USE_GETOPT_LONG=	yes
17
GNU_CONFIGURE=	yes
18
GNU_CONFIGURE=	yes
18
CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
19
19
20
.if !exists(/usr/include/getopt.h)
21
LIB_DEPENDS=	gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
22
CPPFLAGS+=	-I${LOCALBASE}/include
23
LDFLAGS+=	-L${LOCALBASE}/lib -lgnugetopt
24
.endif
25
26
.if !defined(NOPORTDOCS)
27
post-install:
20
post-install:
21
.if !defined(NOPORTDOCS)
28
	@${MKDIR} ${EXAMPLESDIR}
22
	@${MKDIR} ${EXAMPLESDIR}
29
	@${INSTALL_DATA} ${WRKSRC}/example-conf/conf* ${EXAMPLESDIR}
23
	${INSTALL_DATA} ${WRKSRC}/example-conf/conf* ${EXAMPLESDIR}
30
.endif
24
.endif
31
25
32
.include <bsd.port.mk>
26
.include <bsd.port.mk>

Return to bug 51379