diff options
author | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-08-04 11:41:30 +0000 |
---|---|---|
committer | Gabor Kovesdan <gabor@FreeBSD.org> | 2007-08-04 11:41:30 +0000 |
commit | 42542fb07642b8336e808272918f3ae46aa67e0b (patch) | |
tree | 98ff235c33c6493aa26457284f122652c38935f7 /devel/ocaml-res | |
parent | 4c9cd257fd4e6eca46807a43e128d298429ee3cd (diff) | |
download | ports-42542fb07642b8336e808272918f3ae46aa67e0b.tar.gz ports-42542fb07642b8336e808272918f3ae46aa67e0b.zip |
Notes
Diffstat (limited to 'devel/ocaml-res')
-rw-r--r-- | devel/ocaml-res/Makefile | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/ocaml-res/Makefile b/devel/ocaml-res/Makefile index 9c86eed97499..0fce2caad6f7 100644 --- a/devel/ocaml-res/Makefile +++ b/devel/ocaml-res/Makefile @@ -23,8 +23,8 @@ USE_OCAML_FINDLIB=yes USE_OCAML_WASH= yes DOCS= README -DOCSDIR= ${TARGETDIR}/share/doc/ocaml/${PORTNAME} -EXAMPLESDIR= ${TARGETDIR}/share/examples/ocaml/${PORTNAME} +DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/ocaml/${PORTNAME} .include <bsd.port.pre.mk> @@ -36,20 +36,20 @@ post-extract: post-install: @${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \ - ${SED} "s,^${TARGETDIR}/,," >> ${TMPPLIST} + ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/ @${MKDIR} ${EXAMPLESDIR} @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}/) @${FIND} ${EXAMPLESDIR}/ ! -type d | \ - ${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST} + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${EXAMPLESDIR}/ -type d | ${SORT} -r | \ - ${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST} + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} @${FIND} ${DOCSDIR}/ ! -type d | \ - ${SED} 's,^${TARGETDIR}/,,' >> ${TMPPLIST} + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} @${FIND} ${DOCSDIR}/ -type d | ${SORT} -r | \ - ${SED} 's,^${TARGETDIR}/,@dirrm ,' >> ${TMPPLIST} + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} # XXX: temporary workaround for non-standard PREFIX @${ECHO_CMD} "@unexec rmdir %D/share/doc/ocaml 2>/dev/null || true" \ >> ${TMPPLIST} |