summaryrefslogtreecommitdiffstats
path: root/audio/cuetools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/cuetools/Makefile')
-rw-r--r--audio/cuetools/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/audio/cuetools/Makefile b/audio/cuetools/Makefile
index c1ec516..457e543 100644
--- a/audio/cuetools/Makefile
+++ b/audio/cuetools/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cuetools
-PORTVERSION= 0.5.2
+PORTVERSION= 0.6
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,18 +14,26 @@ 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_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_DATA="${INSTALL_DATA}"
-PORTDOCS= ChangeLog README cuerename formats useage
-PLIST_FILES= bin/cuebreakpoints bin/cueconvert bin/cuerename
+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 ChangeLog README doc/cuerename doc/formats doc/useage
- ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+.for file in CHANGES README doc/cuerename doc/formats doc/useage
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
OpenPOWER on IntegriCloud