summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2012-05-31 21:12:14 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2012-05-31 21:12:14 +0000
commit68e1d1d6bac0b47fedea2eb0dc2d1b449e7a973d (patch)
treee34babc2d103058a4353e9cc46ab56239c643555 /x11
parent- Update to 2.22 (diff)
- Convert to new options framework
- Remove uneeded double quotes - While here fix various portlint warnings - Indent make conditionals and loop Approved by: Boris Samorodov <bsam@FreeBSD.org> (net/unison-nox11 maintainer) Approved by: Matthias Andree <mandree@FreeBSD.org> (implicit, net/unison232 maintainer) Approved by: tabthorpe (mentor)
Notes
Notes: svn path=/head/; revision=297905
Diffstat (limited to 'x11')
-rw-r--r--x11/trayer-srg/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/x11/trayer-srg/Makefile b/x11/trayer-srg/Makefile
index c94faf5f5c44..273cd2223260 100644
--- a/x11/trayer-srg/Makefile
+++ b/x11/trayer-srg/Makefile
@@ -26,18 +26,17 @@ USE_XORG= xmu
USE_GMAKE= yes
MAKE_ARGS= "PREFIX=${PREFIX}"
-.if !defined(NOPORTDOCS)
PORTDOCS= README CREDITS CHANGELOG
-.endif
-
PLIST_FILES= bin/trayer
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
+. for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+. endfor
.endif
.include <bsd.port.mk>