aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-05-08 20:33:59 +0800
committernaddy <naddy@FreeBSD.org>2003-05-08 20:33:59 +0800
commitdbdac768c75e29fdcf822530537cd103dbd9b351 (patch)
tree48fe3cf2fde72c2a3ebe69c917c3b7f62ec3a4c8 /misc
parent4b8bd8343dd016e4ed46132f6bf430c0f1763771 (diff)
downloadfreebsd-ports-graphics-dbdac768c75e29fdcf822530537cd103dbd9b351.tar.gz
freebsd-ports-graphics-dbdac768c75e29fdcf822530537cd103dbd9b351.tar.zst
freebsd-ports-graphics-dbdac768c75e29fdcf822530537cd103dbd9b351.zip
Utilize USE_GETOPT_LONG
PR: 51379 Submitted by: Ports Fury
Diffstat (limited to 'misc')
-rw-r--r--misc/colortail/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/misc/colortail/Makefile b/misc/colortail/Makefile
index 391127b06ad..e236392a219 100644
--- a/misc/colortail/Makefile
+++ b/misc/colortail/Makefile
@@ -14,19 +14,13 @@ MASTER_SITES= http://www.student.hk-r.se/~pt98jan/
MAINTAINER= ports@FreeBSD.org
COMMENT= A colour-able replacement for tail(1)
+USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-.if !exists(/usr/include/getopt.h)
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt
-.endif
-
-.if !defined(NOPORTDOCS)
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
- @${INSTALL_DATA} ${WRKSRC}/example-conf/conf* ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example-conf/conf* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>