summaryrefslogtreecommitdiff
path: root/graphics/ming
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
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')
-rw-r--r--graphics/ming/Makefile14
-rw-r--r--graphics/ming/distinfo2
-rw-r--r--graphics/ming/files/Makefile5
-rw-r--r--graphics/ming/pkg-plist3
4 files changed, 7 insertions, 17 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}/
diff --git a/graphics/ming/distinfo b/graphics/ming/distinfo
index 5a4f8b75a38d..7687fe0a7af7 100644
--- a/graphics/ming/distinfo
+++ b/graphics/ming/distinfo
@@ -1,2 +1,2 @@
MD5 (ming-0.1.0.tgz) = 46c50300dfd0d077c23c53dfcc4d3c41
-MD5 (ming-examples.tgz) = 13b3103becb9ec0d797179c56142bb6c
+MD5 (ming-examples.tgz) = 592953577628990479c9be78522da8de
diff --git a/graphics/ming/files/Makefile b/graphics/ming/files/Makefile
index ef76a3c113f4..50052decc9b5 100644
--- a/graphics/ming/files/Makefile
+++ b/graphics/ming/files/Makefile
@@ -50,6 +50,7 @@ INCS= blocklist.h \
fill.h \
libming.h \
ming.h \
+ mingpp.h \
movie.h \
movieclip.h \
position.h \
@@ -80,7 +81,7 @@ beforeinstall: _includeinstall
_includeinstall: pre-_includeinstall
pre-_includeinstall:
- mkdir -p ${DESTDIR}${INCDIR}/blocks ${DESTDIR}${INCDIR}/c++
+ mkdir -p ${DESTDIR}${INCDIR}/blocks
beforeinstall:
${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
@@ -91,5 +92,3 @@ beforeinstall:
${.CURDIR}/blocks/character.h ${.CURDIR}/blocks/libswf.h \
${.CURDIR}/blocks/method.h ${.CURDIR}/blocks/output.h \
${.CURDIR}/blocks/rect.h ${INCDIR}/blocks/
- ${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
- ${.CURDIR}/c++/ming.h ${INCDIR}/c++/
diff --git a/graphics/ming/pkg-plist b/graphics/ming/pkg-plist
index 47cffc321cfd..cac1e67b3eae 100644
--- a/graphics/ming/pkg-plist
+++ b/graphics/ming/pkg-plist
@@ -30,9 +30,8 @@ include/ming/blocks/rect.h
include/ming/blocks/sound.h
include/ming/blocks/sprite.h
include/ming/blocks/swf.h
-include/ming/c++/ming.h
+include/ming/mingpp.h
@dirrm include/ming/blocks
-@dirrm include/ming/c++
@dirrm include/ming
lib/libming.a
lib/libming.so