mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
5f545f7ce1
defined. Feature safe: yes
38 lines
771 B
Makefile
38 lines
771 B
Makefile
# Created by: rene
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= bas2tap
|
|
PORTVERSION= 2.5
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.worldofspectrum.org/pub/sinclair/tools/generic/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//}-generic
|
|
|
|
MAINTAINER= rene@FreeBSD.org
|
|
COMMENT= Convert 48k/128k ZX Spectrum BASIC text files to TAP files
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_ZIP= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
PORTDOCS= ${PORTNAME}.doc
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-build:
|
|
${CC} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME} -lm ${CFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|