blob: 03a388135287bcef837ea8aeb3b08eb814a45881 (
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
30
31
|
# $NetBSD: Makefile,v 1.14 2006/03/04 21:29:53 jlam Exp $
DISTNAME= cwtext-0.95
PKGREVISION= 1
CATEGORIES= ham
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cwtext/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cwtext.sourceforge.net/
COMMENT= Morse Code Generator
MAKEFILE= makefile
USE_TOOLS+= gmake
BUILD_TARGET= ALL
INSTALLATION_DIRS= bin
post-patch:
${SED} -e "s,^PREFIX,#PREFIX,g" \
-e "s,gcc,${CC} ${CFLAGS},g" \
-e "s,python,${PYTHONBIN},g" \
${WRKSRC}/${MAKEFILE} > ${WRKSRC}/${MAKEFILE}.done
${MV} ${WRKSRC}/${MAKEFILE}.done ${WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cwpcm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/cwtext ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/cwmm ${PREFIX}/bin
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|