diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libflash/files/Makefile | 15 |
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 |