diff options
author | knu <knu@FreeBSD.org> | 2000-10-25 19:21:39 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-10-25 19:21:39 +0000 |
commit | 8eb2bd4554b72f85d0c94381a6f55e23d3e11319 (patch) | |
tree | c9540d23912a40d8767bda3c0f23b0bac9c8b776 /textproc | |
parent | 508fa37180aa8743cbbbb705a0068a55cdc87993 (diff) | |
download | FreeBSD-ports-8eb2bd4554b72f85d0c94381a6f55e23d3e11319.zip FreeBSD-ports-8eb2bd4554b72f85d0c94381a6f55e23d3e11319.tar.gz |
Complete _includeinstall for 3-STABLE or older.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/expat/Makefile | 1 | ||||
-rw-r--r-- | textproc/expat/files/Makefile.lib | 20 |
2 files changed, 20 insertions, 1 deletions
diff --git a/textproc/expat/Makefile b/textproc/expat/Makefile index 12d1067..9a9b3a20 100644 --- a/textproc/expat/Makefile +++ b/textproc/expat/Makefile @@ -30,7 +30,6 @@ do-build: .endfor do-install: - ${MKDIR} ${PREFIX}/include/xml .for f in ${MAKEFILES} @(cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${f} ${MAKE_ARGS} ${INSTALL_TARGET}) diff --git a/textproc/expat/files/Makefile.lib b/textproc/expat/files/Makefile.lib index b3a0f17..c4f283a 100644 --- a/textproc/expat/files/Makefile.lib +++ b/textproc/expat/files/Makefile.lib @@ -22,3 +22,23 @@ INCDIR= ${LOCALBASE}/include/xml LIBDIR= ${LOCALBASE}/lib .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 + +_includeinstall: pre-_includeinstall + +pre-_includeinstall: + mkdir -p ${INCDIR} |