From 8eb2bd4554b72f85d0c94381a6f55e23d3e11319 Mon Sep 17 00:00:00 2001 From: knu Date: Wed, 25 Oct 2000 19:21:39 +0000 Subject: Complete _includeinstall for 3-STABLE or older. --- graphics/libflash/files/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'graphics/libflash/files') diff --git a/graphics/libflash/files/Makefile b/graphics/libflash/files/Makefile index 7d6b4df5eb2..58e8037fbdb 100644 --- a/graphics/libflash/files/Makefile +++ b/graphics/libflash/files/Makefile @@ -19,3 +19,18 @@ LIBDIR= ${LOCALBASE}/lib INCDIR= ${LOCALBASE}/include .include + +# 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 -- cgit