diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-19 03:52:40 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-12-19 03:52:40 +0000 |
commit | ae7cc0cc5cedd28a2cc0d437b838622bb434e353 (patch) | |
tree | 2bc96ebbd75369ab5368fba7d7e83e63439b08a2 /devel/bcpp/Makefile | |
parent | Add libsvm 2.33, a library for Support Vector Machines. (diff) |
honor prefix & fix warning
PR: 32996
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=51783
Diffstat (limited to 'devel/bcpp/Makefile')
-rw-r--r-- | devel/bcpp/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/bcpp/Makefile b/devel/bcpp/Makefile index adc5aeee5947..ffa39ce9f612 100644 --- a/devel/bcpp/Makefile +++ b/devel/bcpp/Makefile @@ -18,10 +18,14 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/code MAKEFILE= makefile ALL_TARGET= ${PORTNAME} +post-patch: + @${PERL5} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/bcpp.cpp + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg \ ${PREFIX}/etc/${PORTNAME}.cfg.sample + .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/txtdocs/hirachy.txt ${DOCSDIR} |