diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2000-12-25 02:40:19 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2000-12-25 02:40:19 +0000 |
commit | 7a1b483361c10650bfc7dff729f1b5fe7c0dcd9a (patch) | |
tree | 4a9a4c60f9eb8445b7fecdc49f8a9cf7ea7c0b12 /x11-wm/evilwm | |
parent | Update to 0.6 (diff) |
Install man page regardless of whether NOPORTDOCS is defined.
Use make .for-.endfor loops instead of sh for-done loops.
PR: 22751
Submitted by: Kato Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=36320
Diffstat (limited to 'x11-wm/evilwm')
-rw-r--r-- | x11-wm/evilwm/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/x11-wm/evilwm/Makefile b/x11-wm/evilwm/Makefile index 3ec832441e57..0bb8f16c2a1c 100644 --- a/x11-wm/evilwm/Makefile +++ b/x11-wm/evilwm/Makefile @@ -15,9 +15,7 @@ MAINTAINER= trevor@FreeBSD.org DOCDIR= share/doc/${PORTNAME} DOCS= Changes.kja3 README -.if !defined(NOPORTDOCS) MAN1= evilwm.1 -.endif PLIST= ${WRKDIR}/pkg-plist USE_X_PREFIX= yes @@ -27,20 +25,20 @@ do-build: pre-install: ${ECHO} bin/evilwm > ${PLIST} .if !defined(NOPORTDOCS) - for i in ${DOCS}; \ - do ${ECHO} ${DOCDIR}/$${i} >> ${PLIST}; \ - done +.for i in ${DOCS} + ${ECHO} ${DOCDIR}/${i} >> ${PLIST} +.endfor ${ECHO} @dirrm ${DOCDIR} >> ${PLIST} .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/evilwm ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/evilwm.man ${PREFIX}/man/man1/evilwm.1 .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/${DOCDIR} - for i in ${DOCS}; \ - do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \ - done - ${INSTALL_MAN} ${WRKSRC}/evilwm.man ${PREFIX}/man/man1/evilwm.1 +.for i in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR} +.endfor .endif .include <bsd.port.mk> |