# New ports collection makefile for: cuetools # Date created: 30 December 2003 # Whom: Vincent Tantardini # # $FreeBSD$ # PORTNAME= cuetools PORTVERSION= 0.6 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= A set of utilities for working with cue files and toc files USE_REINPLACE= yes USE_GMAKE= yes MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" prefix="${PREFIX}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_DATA="${INSTALL_DATA}" PORTDOCS= CHANGES README cuerename formats useage PLIST_FILES= bin/cueconvert bin/cuerename MAN1= cueconvert.1 cuerename.1 post-patch: @${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \ 's|-D ||g' post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for file in CHANGES README doc/cuerename doc/formats doc/useage ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif .include