diff options
author | madpilot <madpilot@FreeBSD.org> | 2012-06-01 05:12:14 +0800 |
---|---|---|
committer | madpilot <madpilot@FreeBSD.org> | 2012-06-01 05:12:14 +0800 |
commit | 492afaa2fb9198100322328866e37716b85525cf (patch) | |
tree | 720939f4b3538e64a5898e8121b8f9686cfdc8a5 /x11 | |
parent | 9197ed2d2f6ccc6c09f305bfb60fa3a3d379ec74 (diff) | |
download | freebsd-ports-gnome-492afaa2fb9198100322328866e37716b85525cf.tar.gz freebsd-ports-gnome-492afaa2fb9198100322328866e37716b85525cf.tar.zst freebsd-ports-gnome-492afaa2fb9198100322328866e37716b85525cf.zip |
- 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)
Diffstat (limited to 'x11')
-rw-r--r-- | x11/trayer-srg/Makefile | 11 |
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> |