aboutsummaryrefslogtreecommitdiffstats
path: root/print/catdvi
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2003-05-19 00:03:16 +0800
committerpetef <petef@FreeBSD.org>2003-05-19 00:03:16 +0800
commit54b4063cec319dac240785ffe33fcd1f5b6ca137 (patch)
tree8f9ac94e89713c171cc8e976c28e5ff81427f733 /print/catdvi
parent0fedbb493ef2525e061daf8022932e02fafe1aa0 (diff)
downloadfreebsd-ports-gnome-54b4063cec319dac240785ffe33fcd1f5b6ca137.tar.gz
freebsd-ports-gnome-54b4063cec319dac240785ffe33fcd1f5b6ca137.tar.zst
freebsd-ports-gnome-54b4063cec319dac240785ffe33fcd1f5b6ca137.zip
Use USE_GETOPT_LONG.
PR: 51387, 51383, 51380, 51388, 51384, 51372, 51373, 51381, 51382 Submitted by: Ports Fury
Diffstat (limited to 'print/catdvi')
-rw-r--r--print/catdvi/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/print/catdvi/Makefile b/print/catdvi/Makefile
index 63b251bd7cd5..a5de48882533 100644
--- a/print/catdvi/Makefile
+++ b/print/catdvi/Makefile
@@ -17,6 +17,7 @@ COMMENT= A DVI to text/plain translator
BUILD_DEPENDS= ${LOCALBASE}/lib/libkpathsea.a:${PORTSDIR}/print/teTeX
+USE_GETOPT_LONG= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -28,11 +29,6 @@ MAN1= catdvi.1
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
-.if !exists(/usr/include/getopt.h)
-LIB_DEPENDS+= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-LDFLAGS+= -lgnugetopt
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/catdvi ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/catdvi.1 ${MANPREFIX}/man/man1