aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-05-27 11:05:56 +0800
committerpetef <petef@FreeBSD.org>2002-05-27 11:05:56 +0800
commit550e480ed6a9da44f06a0d3832e0724e1cf1a12b (patch)
tree754f72b26c5edf273381fdda53f138e138c80c20 /devel
parentee4af1cbb6f6fbce6a9dbff3381cf81a938a5c58 (diff)
downloadfreebsd-ports-gnome-550e480ed6a9da44f06a0d3832e0724e1cf1a12b.tar.gz
freebsd-ports-gnome-550e480ed6a9da44f06a0d3832e0724e1cf1a12b.tar.zst
freebsd-ports-gnome-550e480ed6a9da44f06a0d3832e0724e1cf1a12b.zip
Refer to "tvision/myendian.h" instead of just "myendian.h" and actually
install the header. PR: 36800 Submitted by: The Anarcat <anarcat@anarcat.dyndns.org>
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