From edf3af991e9e3706871cfc7f767cd65faf801b1d Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Mon, 27 May 2002 03:05:56 +0000 Subject: Refer to "tvision/myendian.h" instead of just "myendian.h" and actually install the header. PR: 36800 Submitted by: The Anarcat --- devel/tvision/Makefile | 9 +++++++++ devel/tvision/pkg-plist | 1 + 2 files changed, 10 insertions(+) (limited to 'devel/tvision') 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 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 -- cgit v1.2.3