1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Respect PREFIX

PR:		ports/84622
Submitted by:	Andrew Bernard <andrewb@cs.cmu.edu> (maintainer)
This commit is contained in:
Pav Lucistnik 2005-09-16 20:16:09 +00:00
parent fac3a565aa
commit b0c59b7e6d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142960
2 changed files with 5 additions and 1 deletions

View File

@ -18,6 +18,10 @@ COMMENT= Arbitrary-precision calculator for Emacs
RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs
BUILD_DEPENDS= emacs:${PORTSDIR}/editors/emacs
USE_REINPLACE= yes
INFO= calc
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile
.include <bsd.port.mk>

View File

@ -22,7 +22,7 @@
+# FreeBSD installation
+
+prefix = /usr/local
+prefix = %%PREFIX%%
+infodir = ${prefix}/info
+sharedir = ${prefix}/share
+emacssharedir = ${sharedir}/emacs