1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/audio/wav2cdr/Makefile
2013-10-27 09:35:12 +00:00

31 lines
733 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= wav2cdr
PORTVERSION= 2.3.3
CATEGORIES= audio converters
MASTER_SITES= CRITICAL
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Converts WAV files into CDR audio file format
LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}
SRC= wav2cdr cmdarg data fileio process
PLIST_FILES= bin/wav2cdr man/man1/wav2cdr.1.gz
do-build:
.for f in ${SRC}
${CC} ${CFLAGS} -c -o ${WRKSRC}/${f}.o ${WRKSRC}/${f}.c
.endfor
${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \
${SRC:C/(.*)/${WRKSRC}\/\1.o/}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>