diff options
Diffstat (limited to 'comms/yaps/Makefile')
-rw-r--r-- | comms/yaps/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/comms/yaps/Makefile b/comms/yaps/Makefile index 06cec2c..3bad494 100644 --- a/comms/yaps/Makefile +++ b/comms/yaps/Makefile @@ -18,10 +18,12 @@ USE_GMAKE= true MAN1= yaps.1 post-install: - ${MKDIR} ${PREFIX}/share/doc/yaps; \ - ${INSTALL_DATA} ${WRKSRC}/yaps.rc ${PREFIX}/etc/yaps.rc.sample; \ - ${INSTALL_DATA} ${WRKSRC}/yaps.doc ${PREFIX}/share/doc/yaps; \ - ${INSTALL_DATA} ${WRKSRC}/yaps.html ${PREFIX}/share/doc/yaps; \ - ${INSTALL_MAN} ${WRKSRC}/yaps.1 ${PREFIX}/man/man1; + ${INSTALL_DATA} ${WRKSRC}/yaps.rc ${PREFIX}/etc/yaps.rc.sample + ${INSTALL_MAN} ${WRKSRC}/yaps.1 ${PREFIX}/man/man1 +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/yaps + ${INSTALL_DATA} ${WRKSRC}/yaps.doc ${PREFIX}/share/doc/yaps + ${INSTALL_DATA} ${WRKSRC}/yaps.html ${PREFIX}/share/doc/yaps +.endif .include <bsd.port.mk> |