summaryrefslogtreecommitdiffstats
path: root/textproc/cwtext/Makefile
blob: 07b90324e94f3c5bd3948976c93fd515b134bf24 (plain)
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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	cwtext
PORTVERSION=	0.96
CATEGORIES=	textproc hamradio
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}

MAINTAINER=	db@FreeBSD.org
COMMENT=	Morse Code Generator

USE_PYTHON=	yes
USE_GMAKE=	yes
MAKEFILE=	makefile
ALL_TARGET=	ALL

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e "s,^PREFIX,#PREFIX,g" \
		-e "s,gcc,${CC} ${CFLAGS},g" \
		-e "s,install -sc,${INSTALL_PROGRAM},g" ${WRKSRC}/${MAKEFILE}

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud