aboutsummaryrefslogtreecommitdiff
path: root/graphics/feh
diff options
context:
space:
mode:
authorNiclas Zeising <zeising@FreeBSD.org>2012-11-08 21:42:39 +0000
committerNiclas Zeising <zeising@FreeBSD.org>2012-11-08 21:42:39 +0000
commit1223b75c996abbb58697cfeb8581216b603dec41 (patch)
treec5c55d00bc47efe77bffc8d275e5a7c229eca416 /graphics/feh
parent380cc1f6a8e79d89d86fc6f7ea6d5975d0286a88 (diff)
downloadports-1223b75c996abbb58697cfeb8581216b603dec41.tar.gz
ports-1223b75c996abbb58697cfeb8581216b603dec41.zip
Notes
Diffstat (limited to 'graphics/feh')
-rw-r--r--graphics/feh/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/feh/Makefile b/graphics/feh/Makefile
index d451f3b01eba..ce7655baf451 100644
--- a/graphics/feh/Makefile
+++ b/graphics/feh/Makefile
@@ -1,4 +1,4 @@
-# Created by: Jeremy Norris <ishmael27@home.com>
+# Created by: Jeremy Norris <ishmael127@home.com>
# $FreeBSD$
PORTNAME= feh
@@ -29,16 +29,16 @@ MAKE_ENV+= LDFLAGS="${LDFLAGS}"
PORTDOCS= AUTHORS ChangeLog README TODO
+.include <bsd.port.options.mk>
+
post-patch:
- @${REINPLACE_CMD} 's#/bin/bash#/bin/sh#' ${WRKSRC}/cam/gen-cam-menu
- @${REINPLACE_CMD} 's#/install-man install-doc#install-man#' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} 's#/install-man install-doc#install-man#' \
+ ${WRKSRC}/Makefile
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOC}
@${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>