summaryrefslogtreecommitdiffstats
path: root/devel/tvision
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-05-27 03:05:56 +0000
committerpetef <petef@FreeBSD.org>2002-05-27 03:05:56 +0000
commit550e480ed6a9da44f06a0d3832e0724e1cf1a12b (patch)
tree754f72b26c5edf273381fdda53f138e138c80c20 /devel/tvision
parentee4af1cbb6f6fbce6a9dbff3381cf81a938a5c58 (diff)
downloadFreeBSD-ports-550e480ed6a9da44f06a0d3832e0724e1cf1a12b.zip
FreeBSD-ports-550e480ed6a9da44f06a0d3832e0724e1cf1a12b.tar.gz
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/tvision')
-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 ab1f1ab..fb430d3 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 861ce32..88bb46e 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
OpenPOWER on IntegriCloud