aboutsummaryrefslogtreecommitdiff
path: root/graphics/jhead
diff options
context:
space:
mode:
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