aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dvorak7min
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
committersf <sf@FreeBSD.org>2003-07-14 10:53:03 +0800
commit971087c2b4d6b0b917e3fac3ac1334b04f7c9907 (patch)
tree7181a8316bbb1b7be4386d9173b3c6ace07025da /misc/dvorak7min
parent0cc85c09b55a7d94ca1d7c16c8eedae091f2840c (diff)
downloadfreebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.gz
freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.zst
freebsd-ports-gnome-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.zip
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Diffstat (limited to 'misc/dvorak7min')
-rw-r--r--misc/dvorak7min/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/misc/dvorak7min/Makefile b/misc/dvorak7min/Makefile
index 97fb03e032d1..bdee15ffdcf8 100644
--- a/misc/dvorak7min/Makefile
+++ b/misc/dvorak7min/Makefile
@@ -7,22 +7,18 @@
PORTNAME= dvorak7min
PORTVERSION= 1.6
+PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://lightside.eresmas.com/
MAINTAINER= llwang@infor.org
COMMENT= An ncurses-based Dvorak typing tutor
+USE_GETOPT_LONG=yes
+
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500041
-LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-MAKE_ARGS= PROF="-I${LOCALBASE}/include ${CFLAGS}" \
- LDFLAGS="-L${LOCALBASE}/lib" \
- LIBS="-lncurses -lgnugetopt"
-.else
-MAKE_ARGS= PROF="${CFLAGS}"
-.endif
+MAKE_ARGS= PROF="${CPPFLAGS} ${CFLAGS}" LDFLAGS="${LDFLAGS}"
pre-build:
@cd ${WRKSRC} ; ${MAKE} clean