summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Brueffer <markus@FreeBSD.org>2007-02-03 02:34:21 +0000
committerMarkus Brueffer <markus@FreeBSD.org>2007-02-03 02:34:21 +0000
commitcafa7d3bc36b17fe0de9b5323727951420b043b8 (patch)
tree9e577381586c1aeac012677942889fe5ce4ddd5a
parent- add dependency of XML::SAX::Expat to avoid depend on XML::SAX::PurePerl (diff)
- Utilize PORTDOCS
- Respect NOPORTDOCS
Notes
Notes: svn path=/head/; revision=184001
-rw-r--r--graphics/imageindex/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/imageindex/Makefile b/graphics/imageindex/Makefile
index f35190fb8135..d8bf4967ed81 100644
--- a/graphics/imageindex/Makefile
+++ b/graphics/imageindex/Makefile
@@ -23,8 +23,8 @@ RUN_DEPENDS= \
USE_PERL5_RUN= yes
MAKE_ARGS+= PERLPATH=${PERL}
-PLIST_FILES= bin/imageindex bin/autocaption %%DOCSDIR%%/README
-PLIST_DIRS= %%DOCSDIR%%
+PLIST_FILES= bin/imageindex bin/autocaption
+PORTDOCS= README
MAN1= imageindex.1
@@ -32,7 +32,9 @@ post-patch:
${REINPLACE_CMD} -e 's|share/man|man| ;' ${WRKSRC}/Makefile
post-install:
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
.include <bsd.port.mk>