diff options
author | vs <vs@FreeBSD.org> | 2008-06-23 10:33:04 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2008-06-23 10:33:04 +0800 |
commit | f3cbdabcf597e5c6c308d24119b5eeb9337ba8f6 (patch) | |
tree | c9ceb79ccf1aeeee117c89414b155ca93580aa89 /lang | |
parent | cd93686ff2dd7a901e4970003cd4fd9e045a9f96 (diff) | |
download | freebsd-ports-gnome-f3cbdabcf597e5c6c308d24119b5eeb9337ba8f6.tar.gz freebsd-ports-gnome-f3cbdabcf597e5c6c308d24119b5eeb9337ba8f6.tar.zst freebsd-ports-gnome-f3cbdabcf597e5c6c308d24119b5eeb9337ba8f6.zip |
Fix packaging when NOPORTDOCS is set
Reminded by: QA Tindy
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ghc-doc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/ghc-doc/Makefile b/lang/ghc-doc/Makefile index 02ab6bdcbeee..f343d9d774f9 100644 --- a/lang/ghc-doc/Makefile +++ b/lang/ghc-doc/Makefile @@ -25,6 +25,9 @@ DOCSDIR= ${PREFIX}/share/doc/ghc6 PORTDOCS= * do-install: +.if defined(NOPORTDOCS) + @${ECHO} NOPORTDOCS set, nothing to do! +.else @${MKDIR} ${DOCSDIR} .for FILE in Cabal.ps.gz users_guide.ps.gz index.html @${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${FILE} \ @@ -37,5 +40,6 @@ do-install: .endfor @${FIND} ${DOCSDIR}/ -type f -exec ${CHMOD} ${SHAREMODE} {} \; @${FIND} ${DOCSDIR}/ -type f -exec ${CHOWN} ${SHAREOWN}:${SHAREGRP} {} \; +.endif .include <bsd.port.mk> |