aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-05-27 03:05:56 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-05-27 03:05:56 +0000
commitedf3af991e9e3706871cfc7f767cd65faf801b1d (patch)
treee1d76d7bdcbaa27cfac188b1ca7f8cd6f94fb031 /devel
parent402372fe49d4b59bb5b59d809eaf138aa09cf34f (diff)
downloadports-edf3af991e9e3706871cfc7f767cd65faf801b1d.tar.gz
ports-edf3af991e9e3706871cfc7f767cd65faf801b1d.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/tvision/Makefile9
-rw-r--r--devel/tvision/pkg-plist1
2 files changed, 10 insertions, 0 deletions
diff --git a/devel/tvision/Makefile b/devel/tvision/Makefile
index ab1f1abbf3bd..fb430d3c2ba9 100644
--- a/devel/tvision/Makefile
+++ b/devel/tvision/Makefile
@@ -18,4 +18,13 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes
+post-extract:
+ @${MV} ${WRKSRC}/myendian.h ${WRKSRC}/lib
+
+post-patch:
+ @${PERL} -pi -e 's,myendian.h,tvision/myendian.h,g' \
+ ${WRKSRC}/lib/drawbuf.h ${WRKSRC}/lib/system.h
+ @${PERL} -pi -e 's,menus.h msgbox.h,menus.h msgbox.h myendian.h,' \
+ ${WRKSRC}/lib/Makefile.in
+
.include <bsd.port.mk>
diff --git a/devel/tvision/pkg-plist b/devel/tvision/pkg-plist
index 861ce32f95ac..88bb46e4a2e4 100644
--- a/devel/tvision/pkg-plist
+++ b/devel/tvision/pkg-plist
@@ -8,6 +8,7 @@ include/tvision/help.h
include/tvision/helpbase.h
include/tvision/menus.h
include/tvision/msgbox.h
+include/tvision/myendian.h
include/tvision/objects.h
include/tvision/outline.h
include/tvision/resource.h