blob: 1a963e4a93e8236e70bdb6cc54cb663ce65f9ac3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Created by: Leland Wang <llwang@infor.org>
PORTNAME= dvorak7min
PORTVERSION= 1.6.1
DISTVERSIONSUFFIX=%2Brepack
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${DISTVERSION}${DISTVERSIONSUFFIX}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Ncurses-based Dvorak typing tutor
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= ncurses
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
post-patch:
@${REINPLACE_CMD} -e \
's|^\(PROF\)|#\1| ; \
/^CFLAGS/s|\([[:space:]]\)=|\1+=| ; \
s|^\(LDFLAGS\)|#\1| ; \
s|-lncurses|-lcurses|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dvorak7min ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
|