svn commit: r307202 - head/graphics/feh
Niclas Zeising
zeising at FreeBSD.org
Thu Nov 8 21:42:40 UTC 2012
Author: zeising
Date: Thu Nov 8 21:42:39 2012
New Revision: 307202
URL: http://svnweb.freebsd.org/changeset/ports/307202
Log:
Remove unneeded sed in post-patch.
Convert to OptionsNG
While here, fix whitespace in Makefile header.
PR: ports/173443
Submitted by: nemysis <nemysis at gmx.ch>
Approved by: kwm, miwi (mentors, implicit)
Feature safe: yes
Modified:
head/graphics/feh/Makefile
Modified: head/graphics/feh/Makefile
==============================================================================
--- head/graphics/feh/Makefile Thu Nov 8 21:37:55 2012 (r307201)
+++ head/graphics/feh/Makefile Thu Nov 8 21:42:39 2012 (r307202)
@@ -1,4 +1,4 @@
-# Created by: Jeremy Norris <ishmael27 at home.com>
+# Created by: Jeremy Norris <ishmael127 at 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>
More information about the svn-ports-all
mailing list