1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/misc/dvorak7min/Makefile
Martin Wilke 5351913b8a - Update MASTER_SITES and WWW: line
- Add LICENSE

PR:		187046
Submitted by:	Ports Fury
2014-02-27 09:10:24 +00:00

33 lines
670 B
Makefile

# Created by: Leland Wang <llwang@infor.org>
# $FreeBSD$
PORTNAME= dvorak7min
PORTVERSION= 1.6.1
PORTREVISION= 1
CATEGORIES= misc
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
COMMENT= Ncurses-based Dvorak typing tutor
LICENSE= GPLv2 # (or later)
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e \
's|^\(PROF\)|#\1| ; \
/^CFLAGS/s|\([[:space:]]\)=|\1+=| ; \
s|^\(LDFLAGS\)|#\1| ; \
s|-lncurses|-lcurses|' ${WRKSRC}/Makefile
pre-build:
@${RM} -f ${WRKSRC}/*.o
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} dvorak7min \
${STAGEDIR}${PREFIX}/bin)
.include <bsd.port.mk>