mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
af6a36b2d1
PR: 127077 Submitted by: Rene Ladan <r.c.ladan@gmail.com> (maintainer)
36 lines
797 B
Makefile
36 lines
797 B
Makefile
# New ports collection makefile for: bas2tap
|
|
# Date created: 2007-06-26
|
|
# Whom: Rene Ladan <r.c.ladan@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= bas2tap
|
|
PORTVERSION= 2.4
|
|
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
|
|
|
|
USE_ZIP= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
PORTDOCS= ${PORTNAME}.doc
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
do-build:
|
|
${CC} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME} -lm ${CFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
.ifndef NOPORTDOCS
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|