summaryrefslogtreecommitdiff
path: root/devel/tvision
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/tvision
parentIf port is built with WITHOUT_PYTHON set, don't include Python libraries in (diff)
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>
Notes
Notes: svn path=/head/; revision=60063
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 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