diff options
author | ale <ale@FreeBSD.org> | 2008-08-26 22:58:16 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2008-08-26 22:58:16 +0800 |
commit | 4ed63d316e4515f7dbf9ac14fac896b8f7f6e9df (patch) | |
tree | 2c0c99c702dc28264e46d20927277d5253c77353 | |
parent | cd59edd1deaa7e780cc47bda30f5533a7dba9112 (diff) | |
download | freebsd-ports-gnome-4ed63d316e4515f7dbf9ac14fac896b8f7f6e9df.tar.gz freebsd-ports-gnome-4ed63d316e4515f7dbf9ac14fac896b8f7f6e9df.tar.zst freebsd-ports-gnome-4ed63d316e4515f7dbf9ac14fac896b8f7f6e9df.zip |
Fix plist when NOPORTDOCS is defined.
-rw-r--r-- | security/openct/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/security/openct/Makefile b/security/openct/Makefile index 53401ff63da9..85aed728dafe 100644 --- a/security/openct/Makefile +++ b/security/openct/Makefile @@ -49,12 +49,20 @@ PLIST_SUB+= PCSC="@comment " post-patch: @${REINPLACE_CMD} 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \ ${WRKSRC}/configure +.ifndef(NOPORTDOCS) + @${REINPLACE_CMD} 's|install-data-am: install-apidocDATA install-dist_docDATA|install-data-am: install-dist_docDATA|' \ + ${WRKSRC}/doc/Makefile.in +.else + @${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} 's|install-data-am: install-apidocDATA install-dist_docDATA|install-data-am:|' \ + ${WRKSRC}/doc/Makefile.in +.endif post-install: @${MKDIR} ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKDIR}/etoken.conf ${EXAMPLESDIR} .ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} @(cd ${WRKSRC}/doc/nonpersistent/wiki.out/ && ${CP} -R ${DOC_FILES} ${DOCSDIR}) .endif @${CAT} ${PKGMESSAGE} |