aboutsummaryrefslogtreecommitdiff
path: root/textproc/highlight/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-10 00:05:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-10 00:05:19 +0000
commit8ccbb4692b2024202acfa3ba533ee4141155ae8d (patch)
treebf2578fba33baa76ce7378dbbf81b2de32d0b637 /textproc/highlight/Makefile
parent1f71de60b9d031c234c82513c601297c89e2c50a (diff)
downloadports-8ccbb4692b2024202acfa3ba533ee4141155ae8d.tar.gz
ports-8ccbb4692b2024202acfa3ba533ee4141155ae8d.zip
Bring back bsd.port.pre.mk since the post-install requires PREFIX
to be defined. Noticed by: YAPHR
Notes
Notes: svn path=/head/; revision=201229
Diffstat (limited to 'textproc/highlight/Makefile')
-rw-r--r--textproc/highlight/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/textproc/highlight/Makefile b/textproc/highlight/Makefile
index c0dc29336ea3..2fc19a97c93f 100644
--- a/textproc/highlight/Makefile
+++ b/textproc/highlight/Makefile
@@ -7,6 +7,7 @@
PORTNAME= highlight
PORTVERSION= 2.4.8
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= textproc
MASTER_SITES= http://www.andre-simon.de/zip/
@@ -34,6 +35,8 @@ MANCOMPRESSED= yes
PORTDOCS= *
.endif
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e \
's|/etc/highlight|${DATADIR}|g' ${WRKSRC}/datadir.cpp
@@ -71,4 +74,4 @@ post-install:
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>