blob: 633d31e00a5aa021088a7504822c6793d88c85a1 (
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
|
PORTNAME= bas2tap
PORTVERSION= 2.6
CATEGORIES= lang
MASTER_SITES= https://live.worldofspectrum.org/files/download/4e49dd79ef083d8/
DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//}-generic
MAINTAINER= rene@FreeBSD.org
COMMENT= Convert 48k/128k ZX Spectrum BASIC text files to TAP files
WWW= http://www.worldofspectrum.org/utilities.html
LICENSE= GPLv2
USES= zip
NO_WRKSUBDIR= yes
PORTDOCS= ${PORTNAME}.doc
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
do-build:
${CC} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME} -lm ${CFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>
|