diff options
author | trevor <trevor@FreeBSD.org> | 2000-12-25 02:40:19 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-12-25 02:40:19 +0000 |
commit | a00c9ed12ab5cae71679e171f9168a4b20725810 (patch) | |
tree | b9a12837dea15cde186e3832a49ef0268ec73c2a /x11-wm/evilwm | |
parent | eee6208ad712526fc33bc60be8776db3804a9701 (diff) | |
download | FreeBSD-ports-a00c9ed12ab5cae71679e171f9168a4b20725810.zip FreeBSD-ports-a00c9ed12ab5cae71679e171f9168a4b20725810.tar.gz |
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>
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 3ec8324..0bb8f16 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> |