summaryrefslogtreecommitdiff
path: root/graphics/ming/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-13 15:08:27 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-13 15:08:27 +0000
commit627b125ba3bc67c905b23c701c20dcbd6c736292 (patch)
treec19ff9483227d970d7f327ab11eb788718adbebb /graphics/ming/Makefile
parentAdd ipv6 to CATEGORIES, since Apache supports IPv6 by default. (diff)
Chase the update of the ming examples tarball.
Rename and move the location of the c++ header file: c++/ming.h -> mingpp.h
Notes
Notes: svn path=/head/; revision=41339
Diffstat (limited to 'graphics/ming/Makefile')
-rw-r--r--graphics/ming/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/graphics/ming/Makefile b/graphics/ming/Makefile
index 08be1caf7730..dc5423602882 100644
--- a/graphics/ming/Makefile
+++ b/graphics/ming/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ming
PORTVERSION= 0.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.opaque.net/ming/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PORTNAME}-examples${EXTRACT_SUFX}
@@ -38,19 +38,11 @@ DOCS_UTIL= README \
post-extract:
${LN} -s ${WRKDIR}/${PORTNAME}-examples ${WRKSRC}/../examples
- ${MKDIR} ${WRKSRC}/c++
- ${CP} ${WRKSRC}/../c++_ext/ming.h ${WRKSRC}/c++/
+ ${SED} -e 's:"\.\./\.\./ming\.h":<ming.h>:g' \
+ ${WRKSRC}/../c++_ext/ming.h > ${WRKSRC}/mingpp.h
cd ${WRKSRC}/../util && \
${RM} bindump.c hexdump.c listmp3.c
-post-patch:
- ${PERL} -i -p \
- -e 's:"\.\./\.\./c\+\+_ext/ming\.h":<c++/ming.h>:g;' \
- -e 's:"\.\./\.\./ming\.h":<ming.h>:g;' \
- ${WRKSRC}/../examples/c/* \
- ${WRKSRC}/../examples/c++/* \
- ${WRKSRC}/c++/ming.h
-
pre-build:
${CP} ${FILESDIR}/Makefile ${WRKSRC}/