aboutsummaryrefslogtreecommitdiff
path: root/graphics/libflash
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
parentbf38b4675f3833e6eeeb42187d71a063fee67d8a (diff)
downloadports-88b8524175284cfb36c3bcc6f412390c08c5231b.tar.gz
ports-88b8524175284cfb36c3bcc6f412390c08c5231b.zip
Notes
Diffstat (limited to 'graphics/libflash')
-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