2003-02-14 16:24:10 +01:00
|
|
|
PORTNAME= dvorak7min
|
2004-03-15 16:55:31 +01:00
|
|
|
PORTVERSION= 1.6.1
|
2015-05-07 12:05:23 +02:00
|
|
|
DISTVERSIONSUFFIX=%2Brepack
|
2014-02-27 10:10:24 +01:00
|
|
|
PORTREVISION= 1
|
2003-02-14 16:24:10 +01:00
|
|
|
CATEGORIES= misc
|
2014-02-27 10:10:24 +01:00
|
|
|
MASTER_SITES= DEBIAN
|
2015-05-07 12:05:23 +02:00
|
|
|
DISTNAME= ${PORTNAME}_${DISTVERSION}${DISTVERSIONSUFFIX}.orig
|
2003-02-14 16:24:10 +01:00
|
|
|
|
2013-12-18 11:38:33 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-02-27 10:10:24 +01:00
|
|
|
COMMENT= Ncurses-based Dvorak typing tutor
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://packages.qa.debian.org/d/dvorak7min.html
|
2003-02-14 16:24:10 +01:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2017-12-04 10:00:25 +01:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2014-02-10 13:58:54 +01:00
|
|
|
|
2016-02-03 00:35:31 +01:00
|
|
|
USES= ncurses
|
2014-02-27 10:10:24 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2016-02-03 00:35:31 +01:00
|
|
|
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
|
2003-02-14 16:24:10 +01:00
|
|
|
|
2014-02-27 10:10:24 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
's|^\(PROF\)|#\1| ; \
|
|
|
|
/^CFLAGS/s|\([[:space:]]\)=|\1+=| ; \
|
|
|
|
s|^\(LDFLAGS\)|#\1| ; \
|
|
|
|
s|-lncurses|-lcurses|' ${WRKSRC}/Makefile
|
2003-02-14 16:24:10 +01:00
|
|
|
|
|
|
|
do-install:
|
2017-12-04 10:00:25 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dvorak7min ${STAGEDIR}${PREFIX}/bin
|
2003-02-14 16:24:10 +01:00
|
|
|
|
2014-02-27 10:10:24 +01:00
|
|
|
.include <bsd.port.mk>
|