diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-07-15 04:39:36 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-07-15 04:39:36 +0000 |
commit | d244a54472242eac7e7ddb92969dd97a3b8cbc18 (patch) | |
tree | 2c73028cfcb9459c3523831f9e23a2b7539bc98a /textproc/sgmls | |
parent | - Fix build with custom LOCALBASE (diff) |
- Fix build with custom PREFIX
Reported by: QATty
Notes
Notes:
svn path=/head/; revision=237846
Diffstat (limited to 'textproc/sgmls')
-rw-r--r-- | textproc/sgmls/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/textproc/sgmls/Makefile b/textproc/sgmls/Makefile index be15c915dd3c..8098796b1a1a 100644 --- a/textproc/sgmls/Makefile +++ b/textproc/sgmls/Makefile @@ -24,6 +24,9 @@ MAN1= sgmls.1 sgmlsasp.1 rast.1 PROGS= sgmls sgmlsasp rast DOCS= ChangeLog INSTALL LICENSE NEWS README TODO +post-patch: + @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile + post-build: .for file in ${PROGS} @${STRIP_CMD} ${WRKSRC}/${file} @@ -34,8 +37,8 @@ post-install: .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" @-${MKDIR} ${DOCSDIR} -.for file in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif |