diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-07 17:52:41 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-05-07 17:52:41 +0000 |
commit | 306b3568993e9353eeaabba997fa3c7e2010bd96 (patch) | |
tree | 09505559b8ca768986d2dfcca756f5aa68488285 /misc/dvorakng/Makefile | |
parent | 5030e018d0030f493021ca728d75ea1cadcdcf7f (diff) |
Notes
Diffstat (limited to 'misc/dvorakng/Makefile')
-rw-r--r-- | misc/dvorakng/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/misc/dvorakng/Makefile b/misc/dvorakng/Makefile index 697f069b9867..31692d076283 100644 --- a/misc/dvorakng/Makefile +++ b/misc/dvorakng/Makefile @@ -8,6 +8,7 @@ PORTNAME= dvorakng PORTVERSION= 0.5.0 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://www.free.of.pl/n/nopik/ @@ -15,20 +16,18 @@ MAINTAINER= ports@FreeBSD.org COMMENT= A Dvorak typing tutor USE_BZIP2= yes -WRKSRC= ${WRKDIR}/${PORTNAME} +USE_GETOPT_LONG= yes -.include <bsd.port.pre.mk> +WRKSRC= ${WRKDIR}/${PORTNAME} +MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -.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 +DOCS= README TODO do-install: ${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} +.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |