aboutsummaryrefslogtreecommitdiff
path: root/graphics/jhead
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2010-02-08 13:36:42 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2010-02-08 13:36:42 +0000
commit6bce3936a46cacedada4f1f92f43a67284a77da7 (patch)
tree08609cb9b4d4d91d6ea4df33bca736fc9f6ff460 /graphics/jhead
parent6415a63a3948a0e127bdbf8505b83eb0ba62bf06 (diff)
downloadports-6bce3936a46cacedada4f1f92f43a67284a77da7.tar.gz
ports-6bce3936a46cacedada4f1f92f43a67284a77da7.zip
Respect CFLAGS
Approved by: miwi (maintainer)
Notes
Notes: svn path=/head/; revision=249429
Diffstat (limited to 'graphics/jhead')
-rw-r--r--graphics/jhead/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/jhead/Makefile b/graphics/jhead/Makefile
index a29f2c484bfd..dda37382d5e8 100644
--- a/graphics/jhead/Makefile
+++ b/graphics/jhead/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jhead
PORTVERSION= 2.88
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.sentex.net/~mwandel/jhead/ \
http://www.is-root.com/myports/
@@ -24,6 +24,9 @@ PORTDOCS= usage.html
PLIST_FILES= bin/jhead
MAN1= jhead.1
+post-patch:
+ @${REINPLACE_CMD} -E '/^CFLAGS=/d' ${WRKSRC}/makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/jhead ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/jhead.1 ${PREFIX}/man/man1