aboutsummaryrefslogtreecommitdiff
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
parentbc10277d3ea4d6abc97846fd27c987ea659fd9a5 (diff)
downloadports-627b125ba3bc67c905b23c701c20dcbd6c736292.tar.gz
ports-627b125ba3bc67c905b23c701c20dcbd6c736292.zip
Notes
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}/