mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
73f7c91b5d
(Part 1)
39 lines
747 B
Makefile
39 lines
747 B
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: cwtext
|
|
# Date created: Nov 16, 2001
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cwtext
|
|
PORTVERSION= 0.94
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Morse Code Generator
|
|
|
|
USE_PYTHON= yes
|
|
USE_REINPLACE= yes
|
|
USE_GMAKE= yes
|
|
MAKEFILE= makefile
|
|
ALL_TARGET= ALL
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,^PREFIX,#PREFIX,g ; \
|
|
s,gcc,${CC} ${CFLAGS},g" ${WRKSRC}/${MAKEFILE}
|
|
|
|
do-install:
|
|
.for file in cwmm cwpcm cwtext
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|