summaryrefslogtreecommitdiff
path: root/graphics/libflash/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-25 19:21:39 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-25 19:21:39 +0000
commit88b8524175284cfb36c3bcc6f412390c08c5231b (patch)
treeac644681e72b7d2cecf075d1235635b38eb9a612 /graphics/libflash/files
parentAdd NOPROFILE=true to MAKE_ARGS so as not to build a profiled library. (diff)
Complete _includeinstall for 3-STABLE or older.
Notes
Notes: svn path=/head/; revision=34233
Diffstat (limited to '')
-rw-r--r--graphics/libflash/files/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/libflash/files/Makefile b/graphics/libflash/files/Makefile
index 7d6b4df5eb29..58e8037fbdbc 100644
--- a/graphics/libflash/files/Makefile
+++ b/graphics/libflash/files/Makefile
@@ -19,3 +19,18 @@ LIBDIR= ${LOCALBASE}/lib
INCDIR= ${LOCALBASE}/include
.include <bsd.lib.mk>
+
+# For FreeBSD 3.x or older
+.if !target(_includeinstall)
+_includeinstall:
+.if defined(INCS)
+.for header in ${INCS}
+ cd ${.CURDIR} && \
+ ${INSTALL} -C -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \
+ ${header} ${DESTDIR}${INCDIR}
+
+.endfor
+.endif
+
+beforeinstall: _includeinstall
+.endif